in reply to Re: Problem opening file
in thread Problem opening file

"... let it breathe 3 seconds ..."

From sleep:

"Causes the script to sleep for (integer) EXPR seconds, ..."

You're letting it breathe for 50 minutes. :-)

[Also sleep(3000) in the code in your second response.]

-- Ken

Replies are listed 'Best First'.
Re^3: Problem opening file
by marinersk (Priest) on Jul 08, 2015 at 17:29 UTC

    D'oh!

    Fixing...

      Please mark changes in prior postings where you make the change.

      Indicating that you've changed something in a new response (ie, the parent of this one) leaves those (like me, duh!) wondering if the eyes have failed, since there's no evidence of kcott's objection in the node to which he replied.

      UPDATE: I must havecaught you adding the "Edit" note. All's well now, but I think I'll leave the above as is (a style guideline) for newbies who stumble onto this.

        Normally I would have marked it in place, but I hadn't come up with a good way to do that inside a <code></code>block.

        I realize now I could have done it as a comment on the line of code itself -- which I will now do.