Yes, I know that there is such a thing as Apache::ParseLog but since it's OO, I have efficiency worriesThe overhead to call a method is about twice that of a normal subroutine call, if I recall "The Damian"'s benchmarks on it. You are optimizing a lot of stuff that could better be served by using a module. Please stop reinventing an inefficient wheel.
At a minimum, look inside the module source (it's free!) to see how they solved it.
-- Randal L. Schwartz, Perl hacker
In reply to Re: Crafting a regex
by merlyn
in thread Crafting a regex
by arturo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |