You have to make sure you autoflush ($|=1), otherwise it doesn't work...$|=1; for (1..3){ print "\r$_";sleep 1; }
In reply to Re: Outputing a simple counter to stdout on the same line.
by rpanman
in thread Outputing a simple counter to stdout on the same line.
by batcater98
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |