It'd take a while after printing the current value of $num and looping once again as affected by the duration of time provided in the EXPR to sleep. Best of luck...for($num=5;$num>0;$num--){ print "$num\n"; sleep 2; }
In reply to Re: timer without modules
by biohisham
in thread timer without modules
by elunatic
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |