in reply to Re: Re: Reading line from file only when there is a new line (live)
in thread Reading line from file only when there is a new line (live)

That sounds sensible. Good catch.

Of course, the best solution would probably to use File::Tail as others have suggested.

--
<http://www.dave.org.uk>

Perl Training in the UK <http://www.iterative-software.com>

  • Comment on Re: Re: Re: Reading line from file only when there is a new line (live)