vasuperl has asked for the wisdom of the Perl Monks concerning the following question:
Hi, I have a set of test cases. In each test case i need to parse a log file. So for parsing a file and searching for some patterns i would like to write a pl file or a module so that it can be reused to all other test cases. The patterns in each test case is different. I would like to generalise the parsing of different files with different patterns in each testcase. Can any one help me in this? Thanks in advance.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to parse the logs in a generic manner
by GrandFather (Saint) on Jan 02, 2015 at 08:21 UTC | |
by vasuperl (Acolyte) on Jan 02, 2015 at 09:08 UTC | |
by marto (Cardinal) on Jan 02, 2015 at 09:26 UTC | |
by Anonymous Monk on Jan 02, 2015 at 09:28 UTC | |
|
Re: How to parse the logs in a generic manner
by karlgoethebier (Abbot) on Jan 02, 2015 at 16:05 UTC | |
by choroba (Cardinal) on Jan 02, 2015 at 17:12 UTC | |
by karlgoethebier (Abbot) on Jan 02, 2015 at 18:38 UTC | |
|
Re: How to parse the logs in a generic manner
by thargas (Deacon) on Jan 02, 2015 at 19:09 UTC | |
|
Re: How to parse the logs in a generic manner
by karlgoethebier (Abbot) on Jan 02, 2015 at 19:03 UTC |