in reply to File::Tail behaves funny

Are you waiting at least 10 seconds before expecting a new line to show up? Why do I ask? You set both maxinterval and adjustafter to 1 second but left interval at the default of 10 seconds.

I could be way off base though.

Replies are listed 'Best First'.
Re: Re: File::Tail behaves funny
by abhishes (Friar) on Apr 07, 2003 at 20:41 UTC

    Yes I am waiting for more than 10 seconds. This time I started with a non empty file. (with the string "quick brown fox jumps over lazy dog" already there).

    Now I added a line "1 2 3" and saved the file. The utiltity actually printed a blank line.

    Then I waited for 15 seconds and I added line "a b c d" to the file and saved it. Now the utiltity printed "1 2 3"

    regards,
    Abhishek.