Sat, 11 Jul 1998 01:11:53 +0200
Fredrik Lundh wrote:
> Hey, here I go away for a three-day vacation, and when I come back,
> the Python universe is starting to look like comp.lang.perl.misc.
> Didn't take long to figure out why, though:
> -- Python/XML hacker Lars Marius Garshol published the following
> little masterpiece:
Heh. This is indeed a very nice piece of pro-Python advocacy.
It should be noted, though, that setting $| is not the only way
to achieve unbuffered output with Perl. Another way (and the
more general way) would be
And with Perl file handles not even needing "$" prefixes,
the above in fact looks quite readable... -:^))
it is also possible to refer to $| as $OUTPUT_AUTOFLUSH.
Another nice quote from the "perlvar" manual page:
"$| ... (Mnemonic: when you want your pipes to be piping hot.)"
"But the possibility of abuse may be a good reason for leaving
capabilities out of other computer languages, it's not a good
reason for leaving capabilities out of Perl."
-- Larry Wall in <199709251614.JAA15718@wall.org>
Markus B Fleck - University of Bonn - CS Department IV - firstname.lastname@example.org
UNIX Administrator - comp.lang.python.announce Moderator
PINN Open Source Internet Groupware Project - http://cscw.net/pinn/