Re: problem with printing messages to the screen

2007-05-21 Thread Deane . Rothenmaier
>'print " Done\n";' Jagdish, You don't need all those spaces, either. Without them, the 'Done' will print right next to the 'please wait.'. It's probable you're running into line-wrap on your screen--and that's what's causing the 'Done' te

Re: problem with printing messages to the screen

2007-05-20 Thread Foo JH
You can turn off buffering: $|=1; jagdish eashwar wrote: > Hi, > > I have written a script which accesses each file in a directory and > processes them in turn. While it is doing so, I want it to put out > status message like: > > "Processing $filename, please wait.." > > And then when the s

problem with printing messages to the screen

2007-05-20 Thread jagdish eashwar
Hi, I have written a script which accesses each file in a directory and processes them in turn. While it is doing so, I want it to put out status message like: "Processing $filename, please wait.." And then when the script has finished processing a file, I want it to say "Done" at the end