Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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

by misterperl (Monk)
on Jun 25, 2021 at 14:09 UTC ( #11134279=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?

I never saw that Natural sort- you are on fire today all ++ votes! TYVM Have a great weekend- I'm headed off to study your suggestions..
  • Comment on Re^4: How can I do a numeric sort on a substring?

Replies are listed 'Best First'.
Re^5: How can I do a numeric sort on a substring?
by BillKSmith (Monsignor) on Jun 25, 2021 at 15:56 UTC
    For an even more general sort, see the function 'sort_by' in List::UtilsBy.
    Bill
      No, no!!!

      Sort::Key family of modules is far more general and flexible than List::UtilsBy::sort_by!

        Thanks for the hint. I never found that module.
        Bill

Log In?
Username:
Password:

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

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







    Results (69 votes). Check out past polls.

    Notices?