more useful options | |
PerlMonks |
Re: Scalar context changes bareword value?by crenz (Priest) |
on Apr 22, 2004 at 13:35 UTC ( [id://347350]=note: print w/replies, xml ) | Need Help?? |
Thanks for the explanation! I can just pass $_[0] in this situation, which should make it work. However, if there would be multiple parameters and I wanted to pass @_ as a whole, there'd be a problem :(.
In Section
Seekers of Perl Wisdom
|
|