Hello all,
I am on a windows box and I am trying to have a count down timer print out the seconds remaining without new lining it. i.e. I do not want a screen that looks like this...


19 seconds remaining
18 seconds remaining
17 ...


I would like it to print all on the same line. And I cannot clear the screen after every second because there is other information on there I would like to keep.

A google search has only netted me "perl one liners"

I have also tried \r (carriage return) hoping it wouldn't give me the new line, but it did not. I did see where activeState perl has trouble with some escape sequences though.

Any help would be appreciated.

Cheers,
Eric

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to