Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: array question

by rowdog (Curate)
on Jun 30, 2010 at 21:46 UTC ( #847421=note: print w/replies, xml ) Need Help??


in reply to array question

You can shift the first element off the array.

my $first_element = shift @array;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://847421]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2017-01-17 13:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (156 votes). Check out past polls.