When run nothing happens for 9 seconds and then 10 is printed, but nothing else.foreach $n (1..10) { print "\r"; print "$n"; sleep 1; }
In reply to Re: Re: Clearing / rewriting a line in the console (windows)
by lynx
in thread Clearing / rewriting a line in the console (windows)
by lynx
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |