Uri Guttman writes: > because that would be the default comparison and the extracted key value > would be stringified unless some other marker is used. most sorts are on > strings so this would be a useful huffman and removal of a redundancy.
While I like where most of this is going, I beg to differ on this point. I end up sorting numbers more often then strings, except when I'm sorting the keys of a hash. I'm always annoyed in my one liners when I have to write out: sort { $a <=> $b } ... And I'd be thrilled if it were as easy as: sort { +$_ } ... Luke