in reply to How to UPDATE rather than append to STDOUT?
As well as the other methods suggested in this thread you can also (if you are on a unix box at least) use "tput" to move the cursor around.
system("tput cup 4 10");
will move the cursor to position 4,10 (top left is 0,0 so we are down 4 and across 10). Probably a bit of an overkill where \b might do :)
--
my $chainsaw = 'Perl';
|
|---|