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

That seems quite hasty.

DBD driver, database library and system configurations aside, we haven't even definitively eliminated the usual suspect: the end-user. :) Can you reproduce perljunky's symptoms with the given code and an accessible Oracle data source? I cannot.

-pilcrow

Replies are listed 'Best First'.
Re^5: DBI messes up sleep
by eric256 (Parson) on Sep 17, 2007 at 14:53 UTC

    Since other users where able to reproduce it and provide work around its sounded good. At least it should be addressed as a comment in the documentation so that if someone else has the same problem they will be able to find a solution sooner. Either way I don't think submitting it as a bug is hasty because the maintaners may have no idea of the issue and might not read PM, if that is the case then some kind of notification to them would be good.


    ___________
    Eric Hodges
      I didn't (even try to) reproduce it, and what I posted isn't a workaround. sleep should always be called in a loop to either handle or ignore signals.

        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