Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2014-11-01 11:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (229 votes), past polls