No such thing as a small change | |
PerlMonks |
Re^2: DBI messes up sleepby pilcrow (Sexton) |
on Sep 15, 2007 at 04:35 UTC ( [id://639137]=note: print w/replies, xml ) | Need Help?? |
...you only actually check the time once, in the very first statement in the loop... No, localtime is called for each of many loop iterations, as you'll see if you inspect the sample output or re-examine (or run) the code. (I, too, saw the OP's false and misleading "time after sleep" print statement, and initially thought as did you.) -pilcrow
In Section
Seekers of Perl Wisdom
|
|