Perl: the Markov chain saw | |
PerlMonks |
Re: shift operatorby Zaxo (Archbishop) |
on Jul 24, 2007 at 06:30 UTC ( [id://628396]=note: print w/replies, xml ) | Need Help?? |
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,
In Section
Seekers of Perl Wisdom
|
|