|
|
| Syntactic Confectionery Delight | |
| PerlMonks |
Re^4: shift vs @_ (alias)by tye (Cardinal) |
| on Oct 03, 2006 at 21:26 UTC ( #576191=note: print w/ replies, xml ) | Need Help?? |
|
$_[0] is actually a reference to the first argument passed by the caller. I'm sure you know what you meant, but... $_[0] is (usually) an alias to the first argument. If it were a reference then you'd have to use ${$_[0]} or such. - tye
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||