--- Octavian Rasnita <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I am trying to read from a log file which increase
> continuously almost every 
> second.

You may try the Unix 'tail' command and pipe the
result to your Perl program.Like:

tail -f access_log|perl -e
'while(<>){handle_routine()}'

handle_routine() is your routine for handling logfile lines.


      
____________________________________________________________________________________
Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel 
and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to