Do you know where your variables are? | |
PerlMonks |
Re^17: Question about the most efficient way to read Apache log files without All-In-One Modules from CPAN (personal learning exercise)by karlgoethebier (Abbot) |
on Jun 20, 2015 at 13:46 UTC ( [id://1131261]=note: print w/replies, xml ) | Need Help?? |
"...Yet another statement pulled out of your ass...your own bullshit..." Now pipe down and come back to the basic theme. Given this task for learning experience:
Note: Your data must look like this: my $line = qq(127.0.0.1 - - [22/Apr/2015:13:35:04 +1000] "GET /bin/admin.pl HTTP/1.1" 401 509);, as in the example by kcott. Inquisitorial question: How would you accomplish this? I think the OP would appreciate this very much. Karl P.S.: Cnagf qbja abj naq fubj gung qnza pbqr! «The Crux of the Biscuit is the Apostrophe»
In Section
Seekers of Perl Wisdom
|
|