in reply to Re: Re: CISCO Log file pattern matching (again!)
in thread CISCO Log file pattern matching (again!)

using next/split on a mere 12 hours of logs => 2m12s. using a regex to attempt to match lines => 2m43s.

not a lot, but it grows the bigger the files get.

once the line is split...

my @dateinfo = splice @f, 0, 3; ...

trust me, it will be faster to split. especially if your logs get large.