Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: array question

by kennethk (Abbot)
on Jun 30, 2010 at 13:54 UTC ( [id://847338]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $skip = 0;
    for my $i (0 .. $#array) {
        next if $i == $skip;
        #process
    }
    
  2. or download this
    for (@array[1 .. $#array]) {
        #process
    }
    

Log In?
Username:
Password:

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

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

    No recent polls found