Very helpful...thank you....

Tony Esposito
Oracle Developer, Enterprise Business Intelligence
XO Communications
Plano, TX  75074
Work Phone: 972-516-5344
Work Cell: 972-670-6144
Email: [EMAIL PROTECTED]


-----Original Message-----
From: R. Joseph Newton [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 06, 2004 5:07 PM
To: Esposito, Anthony
Cc: Jenda Krynicky; [EMAIL PROTECTED]
Subject: Re: 'print' output on one line

"Esposito, Anthony" wrote:

> I tried that already but it just gives me the final count at the end.  I would like 
> the output to change - the row count, that is - as each 100 rows is committed with 
> the final output - when the program ends - to be:

Try turning autoflush on:

Greetings! C:\>perl -w
{
  local $| = 1;
  print "Hello, there\r";
  sleep 2;
  print "Well, bye for now\r";
  sleep 2;
}

^Z
Hello, there

[two seconds later...]
Greetings! C:\>perl -w
{
  local $| = 1;
  print "Hello, there\r";
  sleep 2;
  print "Well, bye for now\r";
  sleep 2;
}

^Z
Well, bye for now

HTH,

Joseph


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to