Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Challenge: sort weekdays in week-order (Sort::Key)

by LanX (Saint)
on Jul 21, 2022 at 15:25 UTC ( [id://11145637]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use v5.12;
    use warnings;
    ...
    
    
    pp ikeysort { $order{lc($_)} } qw/Monday Saturday Thursday/;
    
  2. or download this
    ("Monday", "Thursday", "Saturday")
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2024-03-28 20:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found