go ahead... be a heretic | |
PerlMonks |
Re^2: Parsing Snort Binary Filesby Illuminatus (Curate) |
on Jun 17, 2011 at 01:25 UTC ( [id://910058]=note: print w/replies, xml ) | Need Help?? |
I took a quick look at the code, and it would be a little complicated, but not too bad. It does newline processing in lots of places, which you would have to change. However at its core it does sysreads to fill its buffer, so the type of data is immaterial. And look on the bright side: if you re-do it as File::Tail::Snort, you could have you very own package on cpan, and your name would live in infamy :) fnord
In Section
Seekers of Perl Wisdom
|
|