Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: array question

by AndyZaft (Hermit)
on Jun 30, 2010 at 14:04 UTC ( #847344=note: print w/replies, xml ) Need Help??


in reply to array question

You mean you want to discard the first array element? In which case one way to do it is:
for ($i = 1; $i < 10; $i++) { print $array[$i]; }
Starting at 1 because first element's index is 0.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2023-06-05 11:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you go to conferences?






    Results (24 votes). Check out past polls.

    Notices?