Hmm, just read http://perldoc.perl.org/functions/sleep.html and while it doesn't say excatly that, it does say that sleep doesn't neccessarily sleep the full length. It is certainly counter intuitive to me at least, if sleep for 30 i expect it to sleep for 30 seconds, guess i better change my expectations.
| [reply] |
"May be interrupted if the process receives a signal". Perhaps you could avoid the loop if you knew more (possibly system-specific) details. I'm working from that line and reports here on Perl Monks of signals interrupting sleep.
| [reply] [d/l] |