in reply to loop execution for "time" specified
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).
|
|---|