Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Date to be sorted in descending and time in ascending

by salva (Abbot)
on May 18, 2012 at 17:28 UTC ( #971347=note: print w/ replies, xml ) Need Help??


in reply to Re: Date to be sorted in descending and time in ascending
in thread Date to be sorted in descending and time in ascending

or...

use Sort::Key::Maker sort_dates => sub { /(.{8})(.{6})/ }, qw(-int int +); my @sorted = sort_dates(@dateArray);


Comment on Re^2: Date to be sorted in descending and time in ascending
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (11)
As of 2014-12-26 09:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (169 votes), past polls