|Pathologically Eclectic Rubbish Lister|
Re: Question about the most efficient way to read Apache log files without All-In-One Modules from CPAN (personal learning exercise)by BrowserUk (Pope)
|on Jun 17, 2015 at 04:35 UTC||Need Help??|
Apache log file formats (there are several) consist of space delimited variable width fields:
(The last two quote strings may not be present.)
Every one of those fields except possibly the date and status code can vary in length; so pack and unpack which are primarily designed for fixed length fields and binary work, are the wrong tools for the job.
split is the more applicable tool for your task:
m with torvalds on this
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". I'm with torvalds on this
In the absence of evidence, opinion is indistinguishable from prejudice. Agile (and TDD) debunked