Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: array question

by kennethk (Abbot)
on Jun 30, 2010 at 13:54 UTC ( #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? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2023-06-09 08:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you go to conferences?






    Results (35 votes). Check out past polls.

    Notices?