Hi,
Hello,
open (LOG, '<'.LogFile); for (;;) { while (<SQUIDLOG>) { # Do stuff here } } }
This is unfortunately very expensive on my CPU. Are there any better ways to go about this??? tail comes to mind, but I'd prefer to do this all in perl.
perldoc -q tail
John -- use Perl; program fulfillment
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>