Re: More Info About $| = 1;

2006-10-19 Thread Derek B. Smith
--- Andreas Puerzer <[EMAIL PROTECTED]> wrote: > Derek B. Smith schrieb: > > > -- Andreas Puerzer <[EMAIL PROTECTED]> wrote: > > > > [snipped for brevity] > > >> > >>So, to the OP, if you want to take input from > your > >>program when run > >>inside Eclipse, you will need to fiddle with $|,

Re: More Info About $| = 1;

2006-10-19 Thread Andreas Puerzer
Derek B. Smith schrieb: > -- Andreas Puerzer <[EMAIL PROTECTED]> wrote: > [snipped for brevity] >> >>So, to the OP, if you want to take input from your >>program when run >>inside Eclipse, you will need to fiddle with $|, due >>to that >>extra-buffering-layer. If you run it outside >>Eclipse,

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]

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

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 expect

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 w

RE: More Info About $| = 1;

2006-10-18 Thread bou, hou \(GE Money, consultant\)
I am using EPIC too. But when I open the *.pm file with utf-8 , eclipse always show out of system virtual memory error,and then I have to shut down the eclipse. who can tell me why? -Original Message- From: Chris Share [mailto:[EMAIL PROTECTED] Sent: Thursday, October 19, 2006 7:54 AM To

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 y

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

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. To answer your question from above, the $| = 1; is simply a method to prevent Perl from buffering and to go ahead and output da

RE: More Info About $| = 1;

2006-10-18 Thread Wagner, David --- Senior Programmer Analyst --- WGO
I copied and ran without the $|=1 and it displays the text What is your name? and I enter na d it completes. I tried both from the cmd.exe and a kornshell and both wroked the same way. Might it have something to do with Eclipse? If you have any problems or que