There's also a method something like:

while(<>)
{
     sleep 1 whie (eof);
     # do your code there
}

Or something like that....


On 7/20/2005, "Tielman Koekemoer (TNE)" <[EMAIL PROTECTED]> wrote:

>
>
>> > > I need to create a program which reads a file from the
>> LAN, and that
>> > > file is continuously updated (kind of log).
>
>I can really suggest File::Tail - it's a BRILLIANT module.
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>This e-mail and its contents are subject to the Telkom SA Limited
>e-mail legal notice available at
>http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>--
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
><http://learn.perl.org/> <http://learn.perl.org/first-response>
>
>

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


Reply via email to