Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

by Anonymous Monk
on Jan 03, 2011 at 09:40 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://880160]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (9)
As of 2024-04-19 16:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found