Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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
Node Status?
node history
Node Type: note [id://847344]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2018-05-24 18:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?