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

Re^2: Changing ASCII collating sequence for sort

by ikegami (Patriarch)
on Apr 18, 2022 at 14:06 UTC ( [id://11143051]=note: print w/replies, xml ) Need Help??


in reply to Re: Changing ASCII collating sequence for sort
in thread Changing ASCII collating sequence for sort

The same approach could be used with the fabulous Sort::Key collection of modules.

use Sort::Key qw( keysort ); my @newsorted = keysort { tr/.../.../r } @list;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-25 07:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found