Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Sort an array which contains date formatted elements

by msk_0984 (Friar)
on Jul 17, 2007 at 12:07 UTC ( #627012=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    Example: (filenames)
    webadmin_jul_10_2007.log
    ...
    webadmin_jul_7_2007.log
    webadmin_jul_8_2007.log
    webadmin_jul_9_2007.log
    
  2. or download this
     #### upper code ......... still present
    
    ...
         }
      }
          
    
  3. or download this
    @files_sorted = sort { $a <=> $b } @files;
    
  4. or download this
    Required output --> <p><p>
    webadmin_jul_7_2007.log
    ...
    webadmin_jul_13_2007.log
    webadmin_jul_14_2007.log
    <p>
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://627012]
Approved by Corion
help
Chatterbox?
[Discipulus]: the new spam: gdpr consensus mail
[Corion]: Yeah, but the hope is that when I just delete it I won't receive any more mail from them
[Corion]: ... a faint hope, I know
[Discipulus]: ah ah you are still so optimist, Corion ? ;=)
[Discipulus]: here we are a bit late: i'll inject a ransomware to crypt everything and be compliant

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2018-05-25 07:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?