to$_->[0] <=> $_->[1]
or$_[0] <=> $_[1]
and even insanely to@_->[0] <=> @_->[1]
And it will work.@{[shift]}->[0] <=> @{[shift]}->[0]
In reply to Re: Sorted tied hash wierdness
by Roger
in thread Sorted tied hash wierdness
by genecutl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |