in reply to Re^6: DBI messes up sleep
in thread DBI messes up sleep

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.


___________
Eric Hodges

Replies are listed 'Best First'.
Re^8: DBI messes up sleep
by ikegami (Patriarch) on Sep 17, 2007 at 21:06 UTC
    "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.