![]() |
|
more useful options | |
PerlMonks |
Re^3: Using $a and $b for sortby mreece (Friar) |
on Jan 04, 2008 at 04:11 UTC ( #660372=note: print w/replies, xml ) | Need Help?? |
if there is some strange reason you cannot lexify your other usages of $a and $b, then you can consider using a named ($$)-prototyped sort subroutine, and perl will pass the sort variables in @_ instead of package variables.
In Section
Seekers of Perl Wisdom
|
|