in reply to simple print question
This wil print "I am doing something...done". You have to add the '\n' if you want the rest of the text to start at the beginning of a line. For a nice effect while it's doing something you can add the dots while it's doing something:print "I am doing something..."; print "done";
print "I am doing something"; for (my $i=0; $i<10; $i++) { print "."; sleep 1; #or whatever your script is doing } print "done";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: simple print question
by Lorand (Beadle) on Mar 26, 2004 at 16:14 UTC |