Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^4: How can I do a numeric sort on a substring?

by LanX (Sage)
on Jun 25, 2021 at 16:48 UTC ( #11134290=note: print w/replies, xml ) Need Help??


in reply to Re^3: How can I do a numeric sort on a substring?
in thread How can I do a numeric sort on a substring?

Thanks for pointing to Sort::Key , seems it covers all use cases of the Schwartzian transform with a short syntax. :)

The documentation could be simpler tho, by deconstructing the naming convention.

[|r][|n|i|u]keysort[_inplace] @array

(Like this the doc seem even to be not logical/ wrong in one case)

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11134290]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2021-10-15 22:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (69 votes). Check out past polls.

    Notices?