http://qs321.pair.com?node_id=171771

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Perlmonks?

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:
1
2
3

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.