Perl: print back to beginning of line

Posted by Pmarcoen on Stack Overflow See other posts from Stack Overflow or by Pmarcoen
Published on 2010-05-05T15:30:36Z Indexed on 2010/05/05 15:38 UTC
Read the original article Hit count: 180

Filed under:
|
|

Okay, so what I'm trying to do is print out a percentage complete to my command line, now, I would like this to simply 'update' the number shown on the screen. So somehow go back to the beginning of the line and change it.

For example the windows relog.exe command-line utility (which can convert a .blg file to a .csv file) does this. If you run it, it will display a percentage complete.

Now this is probably written in C++. I don't know if this is possible in perl as well ?

© Stack Overflow or respective owner

Related posts about perl

Related posts about command-line