Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Regular expressions and sort

by Fletch (Bishop)
on Nov 04, 2005 at 13:56 UTC ( [id://505698]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @result = map { $_->[0] }
                          sort { $a->[1] <=> $b->[1] }
                          map { /_(\d{2})_/; [ $_, $1 ] } @f;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2024-04-24 23:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found