Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Scalar value @scores_sorted[$i] better written as $scores_sorted[$i]

by Anonymous Monk
on Jan 03, 2011 at 09:40 UTC ( #880160=note: print w/replies, xml ) Need Help??


in reply to Scalar value @scores_sorted[$i] better written as $scores_sorted[$i]

Use : print $scores$i; print "\n";
  • Comment on Re: Scalar value @scores_sorted[$i] better written as $scores_sorted[$i]

Replies are listed 'Best First'.
Re^2: Scalar value @scores_sorted[$i] better written as $scores_sorted[$i]
by The_Ghost (Acolyte) on Jan 03, 2011 at 10:32 UTC
    With foreach is faster foreach (@scores ){ print $_."\n"; }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://880160]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2018-04-23 08:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?