Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 drinking their drinks and smoking their pipes about the Monastery: (11)
As of 2014-07-31 16:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (249 votes), past polls