Thanks for the tips... they solved my problems... /juman
On Wed, Feb 25, 2004 at 02:56:48PM +0100, juman wrote: > I'm trying to make perl print out some status info while doing other > things but the actual text isn't shown until a newline character is > passes. > > print "Before"; > sleep (5); > print "After\n"; > > This test will print "BeforeAfter" after 5 seconds sleep? How do I make > it print "Before" sleep 5 seconds and then print "After"? > > Don't know if this has to do with Perl or the Bash shell I'm using > though... > > Cheers, > > juman > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > <http://learn.perl.org/> <http://learn.perl.org/first-response> > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>