Hi!
I am rather new at perl but have so far successfully written a few scripts. My last one processes a lot of data and takes a while to run, so I implemented a simple progress report in the form of "xx % done.". This is now printed for every new value in a new line. I would like the script to update just one status line with the percentage done on it, how can I do that?
The only possibiliy I found so far is to clear the whole screen, but that can't be the best method... I work under Windows.
(update)
Found it, carriage return did not work without unbuffering STDOUT ( $| = 1 ), now it works :-).