lulz has asked for the wisdom of the Perl Monks concerning the following question:
I am a beginner PERL programmer who is curious about the inner workings of both these packages and PERL itself.
I was thinking that it may be possible to use pack and unpack alongside File::Map somehow to be able to parse and process the log lines directly without loading the entire file into memory.
Is my line of thinking flawed? Is it possible to use pack and unpack in this manner with variable width files? I have read perlpacktut, but it only explains the capabilities of text files in a fixed width format.
Likewise, for the All-In-One packages for log parsing on CPAN, how do they parse these kinds of files and why?