You set $_current_time before the loop starts - it is the current time before you enter the while loop. (1) What would you need to check to get the current time at the point where you do the comparison, and (2) how could you change your code (one line only) to implement (1).
In reply to Re: loop execution for "time" specified
by MidLifeXis
in thread loop execution for "time" specified
by perlpal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |