in reply to Data structure for log file processing

Well merlyn is really fond of Parse::RecDescent for tasks like parsing log files. I would therefore suggest taking a look at that first.
  • Comment on Re (tilly) 1: Data structure for log file processing

Replies are listed 'Best First'.
RE: Re (tilly) 1: Data structure for log file processing
by merlyn (Sage) on Aug 24, 2000 at 20:39 UTC
    Well, not for something this simple. There's practically no variation in the lines. A simple hash or perhaps hash of hashrefs should be all that's needed here.

    -- Randal L. Schwartz, Perl hacker

      Yes I took a glimpse at that module and it did seem a little too much like killing flies with a howitzer. :)

      However, should I ever need to parse something less uniform, I'll be sure to remember where to start looking.