Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: shift operator

by Zaxo (Archbishop)
on Jul 24, 2007 at 06:30 UTC ( #628396=note: print w/replies, xml ) Need Help??


in reply to shift operator

shift is a perl operator which may be applied to any variable with the @ sigil. It strips the array's first position and returns that value. In a sub definition, it is used on @_ which is formed from the argument list.

After Compline,
Zaxo

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://628396]
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: (13)
As of 2018-06-22 15:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (124 votes). Check out past polls.

    Notices?