in reply to Re^2: Flushing the print buffers.
in thread Flushing the print buffers.
->autoflush(1) will flush after every print/syswrite/etc.
->autoflush(0) will flush on demand (->flush), when the buffer is full (all handles) and when "\n" is encountered (when -t HANDLE only).
If you want something else, you'll need a tied handle or your own print function.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Flushing the print buffers.
by lidden (Curate) on Feb 22, 2008 at 00:37 UTC |
In Section
Seekers of Perl Wisdom