while(1){print "a"; sleep 1;}

2005-02-09 Thread TapasranjanMohapatra
Hi All, Why I dont get a's printed with the code below? +++ while(1) { print "a"; sleep 1; } +++ It works well if I print a newline with a, i.e while(1) { print "a\n"; # newline with a sleep 1; } Please help if

Re: while(1){print "a"; sleep 1;}

2005-02-09 Thread Ing. Branislav Gerzo
TapasranjanMohapatra [T], on Wednesday, February 9, 2005 at 19:47 (+0530) typed the following: T> It works well if I print a newline with a, i.e I hope it works without sleep 1, try that, and you will see the answer. -- ...m8s, cu l8r, Brano. ["You should never go in there without a mongoos

Re: while(1){print "a"; sleep 1;}

2005-02-09 Thread Chris Devers
On Wed, 9 Feb 2005, TapasranjanMohapatra wrote: > Why I dont get a's printed with the code below? Apparently it's an output buffering issue. If you flush output, it works: $ perl -e 'while(1){print"a";sleep 1}' ^C $ perl -e '$|=1;while(1){print&quo

Re: while(1){print "a"; sleep 1;}

2005-02-09 Thread Marcello
TapasranjanMohapatra ha scritto: Hi All, Why I dont get a's printed with the code below? +++ while(1) { print "a"; sleep 1; } +++ It works well if I print a newline with a, i.e while(1) { print "a\n"; # newline

Re: while(1){print "a"; sleep 1;}

2005-02-09 Thread mgoland
- Original Message - From: TapasranjanMohapatra <[EMAIL PROTECTED]> Date: Wednesday, February 9, 2005 9:17 am Subject: while(1){print "a"; sleep 1;} > Hi All, Hello, > > Why I dont get a's printed with the code below? Works well on my system, are you su

RE: while(1){print "a"; sleep 1;} -my thanks

2005-02-09 Thread TapasranjanMohapatra
-Original Message- From: Chris Devers [mailto:[EMAIL PROTECTED] Sent: Wed 2/9/2005 8:01 PM To: TapasranjanMohapatra Cc: Perl Beginners List Subject:Re: while(1){print "a"; sleep 1;} On Wed, 9 Feb 2005, TapasranjanMohapatra wrote: > Why I dont get a&#