----- Original Message -----
From: David Gilden <[EMAIL PROTECTED]>
To: Casey West <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, April 23, 2001 9:23 PM
Subject: quick PERL question


> Dear Casey and the list,
> Thanks for your all of your valuable help,
>
> What is $|++ for?
>
> #!/usr/local/bin/perl -w
> use strict;
> $|++;
The special  variable $| sets the autoflush. See PERLVAR documentation.
Whats this person does is a dirty way of setting $| to a true value (not 0
or undef).
Default = 0.
So it would be more readable to write $| = 1;

Maarten.

Reply via email to