On Mon, 22 Jul 2002 10:40:29 +0300, [EMAIL PROTECTED] (Octavian Rasnita)
wrote:
>Hi all,
>
>I've seen the following line in more Perl scripts and even in some Perl
>books, but it wasn't very well explained.
>
>$|=1; ## Don't buffer output
>
>What d
buffered, but once
it prints the initial buffered part, everything after that is printed immediately.
Regards,
David
- Original Message -
From: "Octavian Rasnita" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 22, 2002 1:40 AM
Subject: Buffer output?
Octavian Rasnita wrote:
>
> I've seen the following line in more Perl scripts and even in some Perl
> books, but it wasn't very well explained.
>
> $|=1; ## Don't buffer output
>
> What does it mean to buffer output?
> Which is the difference i
Hi all,
I've seen the following line in more Perl scripts and even in some Perl
books, but it wasn't very well explained.
$|=1; ## Don't buffer output
What does it mean to buffer output?
Which is the difference if the $| is 0 or 1?
Thank you.
Teddy Center: http://ted