Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

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 musing on the Monastery: (4)
As of 2015-11-28 15:42 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (743 votes), past polls