We don't bite newbies here... much | |
PerlMonks |
Re: style q: duplication? of variablesby nakor (Novice) |
on Aug 14, 2001 at 17:36 UTC ( [id://104760]=note: print w/replies, xml ) | Need Help?? |
Since arguments are passed _by alias_, doing things to
$_[0] actually changes the first argument (and so on).
E.g.:
Of course, there is no "One True Way," but this is clean and works.
In Section
Seekers of Perl Wisdom
|
|