Beefy Boxes and Bandwidth Generously Provided by pair Networks chromatic writing perl on a camel
We don't bite newbies here... much
 
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2014-04-20 20:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (487 votes), past polls