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).

--MidLifeXis

The tomes, scrolls etc are dusty because they reside in a dusty old house, not because they're unused. --hangon in this post

  • Comment on Re: loop execution for "time" specified