Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Understanding transformation sorts (ST, GRT), the details

by 5mi11er (Deacon)
on May 17, 2005 at 22:41 UTC ( #458027=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @files = <DATA>; chomp @files;
    
    ...
    fwlog.1Mar2005.gz
    fwlog.2Mar2005.gz
    fwlog.20Mar2005.gz
    
  2. or download this
    my @months = qw( Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec );
    my %months;
    ...
     (split(/\./,$_,3))[1] =~ /^(\d+)([A-Za-z]+)(\d+)$/; 
     [$_, $3, $months{$2}, sprintf("%02d", $1) ] 
    } @files;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2014-08-30 02:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (291 votes), past polls