in reply to Re: How can I sort my array numerically on part of the string?
in thread How can I sort my array numerically on part of the string?

Note that
[ reverse split /,/ ]->[0]

can be replaced by shorter

(split /,/)[-1]

which is also faster.

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Replies are listed 'Best First'.
Re^3: How can I sort my array numerically on part of the string?
by alexander_lunev (Pilgrim) on Dec 01, 2020 at 21:05 UTC
    Of course! Thank you!