Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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;


Comment on Re: array question
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2015-04-21 13:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who makes your decisions?







    Results (395 votes), past polls