monk_wannabe has asked for the wisdom of the Perl Monks concerning the following question:
...which outputs something like this...# printf "Starting process.....\c" .... some code .... # printf "DONE!\n"
However, perl doesn't like the '\c' with "print" or "printf". And if I don't put anything at the end of my string, perl waits until the action(s) are completed and then prints the whole line. How can I print the starting statement, THEN print the "DONE!" (or whatever)?Starting process..... <waits till pricess finishes>DONE!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Shell-like "print"
by belg4mit (Prior) on Oct 14, 2003 at 21:10 UTC | |
|
Re: Shell-like "print"
by Abigail-II (Bishop) on Oct 14, 2003 at 21:59 UTC | |
by monk_wannabe (Initiate) on Oct 17, 2003 at 20:31 UTC | |
|
Re: Shell-like "print"
by eoin (Monk) on Oct 14, 2003 at 21:57 UTC | |
by monk_wannabe (Initiate) on Oct 17, 2003 at 20:34 UTC | |
by eoin (Monk) on Oct 17, 2003 at 20:59 UTC |