Re: print outbut being buffered...

2004-01-30 Thread Michael W . Cocke
On Thu, 29 Jan 2004 03:12:21 -0800, [EMAIL PROTECTED] (John W. Krahn) wrote: >"Michael W . Cocke" wrote: >> >> This is probably a stupid question, but does anyone know how to force >> the output of print to actually PRINT, without forcing me to use a \n? >> >> It's sort of futile to print a '.'

Re: print outbut being buffered...

2004-01-29 Thread R. Joseph Newton
"Michael W.Cocke" wrote: > This is probably a stupid question, but does anyone know how to force > the output of print to actually PRINT, without forcing me to use a \n? { local $| = 1; ...code for which you need output autoflushed } { local $| = 1; my $total = 0; for (1..10) {

Re: print outbut being buffered...

2004-01-29 Thread drieux
On Jan 27, 2004, at 6:59 AM, Michael W.Cocke wrote: This is probably a stupid question, but does anyone know how to force the output of print to actually PRINT, without forcing me to use a \n? did you try $| = 1; cf perldoc perlvar ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: print outbut being buffered...

2004-01-29 Thread John W. Krahn
"Michael W . Cocke" wrote: > > This is probably a stupid question, but does anyone know how to force > the output of print to actually PRINT, without forcing me to use a \n? > > It's sort of futile to print a '.' every 60 seconds to indicate the > app hasn't crashed if the line of periods doesn't