in reply to
Re: Why do we need $a and $b to be special?
in thread Why do we need $a and $b to be special?
... 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
I didn't know that. How would the $$ prototype be seen in a CODE ref? Would it still work?
I tend to avoid prototypes normally, as they don't do what you expect, and seem to be more trouble than they are worth.
I'm Not Just Another Perl Hacker