> Your parse_log() sub is, of course, what's taking up the time.  If you provide us 
>with a little
> sample data, that would help.  In particular, I'm looking at:
> 
>     $split[6] =~ /$string/

D'oh!  I forgot to mention why I'm looking at that :)

If you can use "$split[6] eq $string", then this will be much faster.

Cheers,
Curtis "Ovid" Poe

PS  The weird thing is, I remember typing that.  I must have edited my response and 
edited out the
important stuff.  Kind of wish I could do that with my memories sometimes.

=====
Senior Programmer
Onsite! Technology (http://www.onsitetech.com/)
"Ovid" on http://www.perlmonks.org/

__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to