in reply to Re^2: Tail, whiles and buffers ?
in thread Tail, whiles and buffers ?

That's strange, your original post said nothing about using IO::Handle. So your example code was irrelevant. Nice.


Dave

Replies are listed 'Best First'.
Re^4: Tail, whiles and buffers ?
by Anonymous Monk on Oct 19, 2006 at 17:47 UTC
    Sorry about that Dave, It wasn't in my original post but after more research I tried it and it seemed to work.
Re^4: Tail, whiles and buffers ?
by Anonymous Monk on Oct 19, 2006 at 17:55 UTC
    sorry Dave...my original post said I tried using "$|++", hence the deprecated version of autoflush, so I did some more research and found that using the IO module works.

      No problem. I was just perplexed as to how the design changed from what I was considering.


      Dave

      sorry Dave...my original post said I tried using "$|++", hence the deprecated version of autoflush, so I did some more research and found that using the IO module works.

      I didn't know that the use of $| is technically deprecated. At least, perldoc perlvar doesn't mention it. Indeed it is peculiar in that it depends on the currently selected handle, and some care is needed in using it, so that IO::Handle provides a more convenient interface in many circumstances.