The technique described by frozenwithjoy will work provided you haven’t moved the cursor to a new line. In addition to \r (carriage return), which moves the cursor to the start of the line, there is also \b (backspace), which moves the cursor back a single character.
For anything more complicated, you probably need a CPAN module, and you will likely have to get a module suitable for your OS:
HTH,
Athanasius <°(((>< contra mundum
In reply to Re: Controlling already printed text to console.
by Athanasius
in thread Controlling already printed text to console.
by humble
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |