Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Parsing Logs

by mbethke (Hermit)
on Oct 05, 2012 at 17:03 UTC ( #997518=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while(<AUTH>) {
       chomp;
    ...
          $sessionID{$4} = 1;
       }
    }
    
  2. or download this
    open(MSG) or die("couldn't open msg log");
    while(<MSG>) {
       chomp;
    ...
    close(MSG);
    
    print $_, "\n" foreach (@matching_lines);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://997518]
help
Chatterbox?
[Corion]: A good daypart to everybody!
marto waves
[karlgoethebier]: moans

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2017-12-14 10:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (389 votes). Check out past polls.

    Notices?