On 4/17/06, Joshua Colson <[EMAIL PROTECTED]> wrote:
> I need
> to know what cpan modules people would recommend for
> tokenizing these
> records.
Maybe Parse::RecDescent?
http://search.cpan.org/~dconway/Parse-RecDescent-1.94/lib/Parse/RecDescent.pod
Hope this helps!
--Tom Phoenix
Stonehe
On Mon, 2006-04-17 at 14:08 -0700, Timothy Johnson wrote:
> Was this logfile made by a particular product? There might be a module
> made specifically for it.
No. It is a home brewed application.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Was this logfile made by a particular product? There might be a module
made specifically for it.
-Original Message-
From: Joshua Colson [mailto:[EMAIL PROTECTED]
Sent: Monday, April 17, 2006 1:57 PM
To: Perl Beginners
Subject: Lexical analysis of log file
I have a log file of the
I have a log file of the format:
### BEGIN LOG ###
[datestamp unique-id]:
[datestamp unique-id]:
(
[field] => value
[field2] => value
[etc...] => value
)
[datestamp unique-id]:
(
[field9] => value
[field3] => value
[etc...] => value
)
### END LOG ###
Each 'record' is delimited by