Perl Monk, Perl Meditation | |
PerlMonks |
Re: Re: Lexical::Alias & subroutinesby pfaut (Priest) |
on May 19, 2003 at 13:01 UTC ( [id://259137]=note: print w/replies, xml ) | Need Help?? |
Shifting makes $byRef a copy of the variable passed to the sub. Jenda indicated he wants to modify the argument passed to the sub so he needs an alias. $_[0] is an alias but he'd like to work with it using a more friendly name.
In Section
Seekers of Perl Wisdom
|
|