concept has asked for the wisdom of the Perl Monks concerning the following question:
I am new to perl (started about a week ago) and have already found a new home. Now I have a bit of a problem, that I cannot really figure out how to do it. It feels like it is on the tip of my toungue, but I just can't get it.
I am trying to parse a logfile and create a report from it. I am not sure how to do this. Regexp to match the lines?
Here is a line from the log:After that I am not sure what to do? Can someone please point me in the right direction?open (FILEPTR,$file) || die "Cant open file"; @trace <FILEPTR>;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Parsing a logfile.
by GrandFather (Saint) on Jun 02, 2012 at 22:14 UTC | |
|
Re: Parsing a logfile.
by aaron_baugher (Curate) on Jun 02, 2012 at 20:56 UTC | |
|
Re: Parsing a logfile.
by thomas895 (Deacon) on Jun 02, 2012 at 19:29 UTC | |
|
Re: Parsing a logfile.
by NetWallah (Canon) on Jun 03, 2012 at 00:05 UTC |