|The stupid question is the question not asked|
How to UPDATE rather than append to STDOUT?by Anonymous Monk
|on Jun 05, 2002 at 09:29 UTC||Need Help??|
Anonymous Monk has asked for the
wisdom of the Perl Monks concerning the following question:
Does anyone know of a way I can REPLACE a counter in STDOUT rather than append new lines to the display.
If I knew what this was called I'd search for it :)
I want to put a counter on a status line but rather than have to drop a new line for each increment eg:
I'd prefer to have the counter update on the same line ie.3 replaced by 4 replaced by 5 etc?? So I don't have the display scrolling over screens and screens of text!
Is there a way to do this using standard Perl tools?
Any help is MUCH, MUCH appreciated.