Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: RFC: Simple switches for 'sort' and numeric list 'reverse'by choroba (Cardinal) |
on Mar 06, 2021 at 23:11 UTC ( [id://11129229]=note: print w/replies, xml ) | Need Help?? |
> I'm not sure how, but sorting by $a + $b reverses a list. Interestingly, it doesn't work under
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
In Section
Meditations
|
|