On 28/06/2013 02:32, Uri Guttman wrote:

you don't need
ever to set $| on stderr as it is not buffered like stdout is. and you
rarely need to set it on stdout as any print with a \n will flush stdout.

That isn't true.

Perl will buffer STDOUT up to 8KB regardless of whether a newline has
been printed, unless `autoflush` has been enabled when it will flush
after every print `statement`.

Rob


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to