Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: $# -variable?

by ikegami (Patriarch)
on Jul 27, 2006 at 15:52 UTC ( [id://564139]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for (my $i=0; $i<scalar(@arr); $i++)
    for (my $i=0; $i<@arr; $i++)
    for (my $i=0; $i<=$#arr; $i++)
    for my $i (0..$#arr)
    
  2. or download this
    foreach my $item (@arr)
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://564139]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2024-04-23 14:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found