Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re^2: Rename unreliable on Windows

by elef (Friar)
on Apr 04, 2012 at 11:46 UTC ( #963425=note: print w/ replies, xml ) Need Help??

in reply to Re: Rename unreliable on Windows
in thread Rename unreliable on Windows

Thanks, I tested this with usleep 50000; but it didn't help. See resolution above (backup software was locking files).

Comment on Re^2: Rename unreliable on Windows
Download Code
Replies are listed 'Best First'.
Re^3: Rename unreliable on Windows
by Anonymous Monk on Apr 04, 2012 at 12:54 UTC
    Good catch.   Points out that any operation that might possibly fail, especially when run on end-user machines (that are commonly less-privileged than the [foolishly, too privileged] developer machines), should trap for runtime errors with eval or otherwise, and be prepared to handle them plausibly.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://963425]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2015-10-09 00:58 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (232 votes), past polls