Tom Phoenix schrieb:
On 10/18/06, Chris Share [EMAIL PROTECTED] wrote:
I've got a question about $| = 1;
If I add $| = 1; at the top of the program this fixes the problem and
the program runs as expected.
Normally, output is buffered for efficiency; instead of writing each
-- Andreas Puerzer [EMAIL PROTECTED] wrote:
Tom Phoenix schrieb:
On 10/18/06, Chris Share [EMAIL PROTECTED]
wrote:
I've got a question about $| = 1;
If I add $| = 1; at the top of the program this
fixes the problem and
the program runs as expected.
Normally,
--- Derek B. Smith [EMAIL PROTECTED]
wrote:
-- Andreas Puerzer [EMAIL PROTECTED] wrote:
Tom Phoenix schrieb:
On 10/18/06, Chris Share [EMAIL PROTECTED]
wrote:
I've got a question about $| = 1;
If I add $| = 1; at the top of the program this
fixes the
Thanks to all who responded.
The Suffering from Buffering? article explains everything.
Cheers,
Chris
Derek B. Smith wrote:
--- Derek B. Smith [EMAIL PROTECTED]
wrote:
-- Andreas Puerzer [EMAIL PROTECTED] wrote:
Tom Phoenix schrieb:
On 10/18/06, Chris Share [EMAIL PROTECTED]
Hi,
I'm a C programmer teaching myself Perl. I'm working on Windows XP using
ActivePerl and Eclipse (EPIC).
I've got a question about $| = 1;
If I run the following program:
#!/usr/local/bin/perl
use strict;
use warnings;
print What is your name? ;
my $name = STDIN;
chomp $name;
print
To: beginners@perl.org
Subject: More Info About $| = 1;
Hi,
I'm a C programmer teaching myself Perl. I'm working on Windows XP using
ActivePerl and Eclipse (EPIC).
I've got a question about $| = 1;
If I run the following program:
#!/usr/local/bin/perl
use strict;
use warnings;
print What is your
Hi,
I'm a C programmer teaching myself Perl. I'm working on Windows XP using
ActivePerl and Eclipse (EPIC).
I've got a question about $| = 1;
Hello to you as well.
Layman Terms To answer your question from above, the $| = 1; is
simply a method to prevent Perl from buffering and to go ahead
On 10/18/06, Chris Share [EMAIL PROTECTED] wrote:
I've got a question about $| = 1;
...
If I add $| = 1; at the top of the program this fixes the problem and
the program runs as expected.
Normally, output is buffered for efficiency; instead of writing each
byte at once, output is saved in a
Chris Share wrote:
Hi,
Hello,
I'm a C programmer teaching myself Perl. I'm working on Windows XP using
ActivePerl and Eclipse (EPIC).
I've got a question about $| = 1;
If I run the following program:
#!/usr/local/bin/perl
use strict;
use warnings;
print What is your name? ;
To: beginners@perl.org
Subject: More Info About $| = 1;
Hi,
I'm a C programmer teaching myself Perl. I'm working on Windows XP using
ActivePerl and Eclipse (EPIC).
I've got a question about $| = 1;
If I run the following program:
#!/usr/local/bin/perl
use strict;
use warnings;
print What
10 matches
Mail list logo