That does not have any of my tracking code in it, but it is an example, if you run that, it never prints a period until it finishes. How do I get it to print the things I want it to, before it finishes the subroutines or while statement?sub scanUrl { my $_url = $in{url}; my $_startingNumber = 0; my $_tnum = 0; my $_endingNumber = 100000; while($_endingNumber > $_startingNumber) { if($_tnum == 10) { print "."; $_tnum = 0; } sleep(1); } }
In reply to Re^4: printing during process
by Anonymous Monk
in thread printing during process
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |