Re: More Info About $| = 1;

2006-10-19 Thread Andreas Puerzer
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

Re: More Info About $| = 1;

2006-10-19 Thread Derek B. Smith
-- 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,

Re: More Info About $| = 1;

2006-10-19 Thread Derek B. Smith
--- 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

Re: More Info About $| = 1;

2006-10-19 Thread Chris Share
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]

More Info About $| = 1;

2006-10-18 Thread Chris Share
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

RE: More Info About $| = 1;

2006-10-18 Thread Wagner, David --- Senior Programmer Analyst --- WGO
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

Re: More Info About $| = 1;

2006-10-18 Thread Omega -1911
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

Re: More Info About $| = 1;

2006-10-18 Thread Tom Phoenix
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

Re: More Info About $| = 1;

2006-10-18 Thread John W. Krahn
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? ;

RE: More Info About $| = 1;

2006-10-18 Thread bou, hou \(GE Money, consultant\)
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