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?
[ reverse split /,/ ]->[0]
can be replaced by shorter
(split /,/)[-1]
which is also faster.
|
|---|
| 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 |