Problems? Is your data what you think it is? | |
PerlMonks |
Re: Why do we need $a and $b to be special?by ysth (Canon) |
on Jul 30, 2004 at 02:21 UTC ( [id://378575]=note: print w/replies, xml ) | Need Help?? |
By default, $a and $b will be with us forever (in perl5) for backward compatibility; however, since 5.6.0, perl has supported having a named comparison routine with a $$ prototype to indicate that you want the elements to sort passed as parameters instead of as $a and $b:
In Section
Meditations
|
|