I have a log file of the format:

### BEGIN LOG ###
[datestamp unique-id]: <message>
[datestamp unique-id]: <message>
(
  [field] => value
  [field2] => value
  [etc...] => value
)

[datestamp unique-id]: <message>
(
  [field9] => value
  [field3] => value
  [etc...] => value
)

### END LOG ###

Each 'record' is delimited by a blank line. The section that resembles
perl a hash can be prefixed with any number of datestamp lines. I need
to know what cpan modules people would recommend for tokenizing these
records. I need to be able to check a specific field for a specific
value and then access the previous x number of records.

Thanks.

-- 
Joshua Colson <[EMAIL PROTECTED]>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to