Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 rifling through the Monastery: (5)
As of 2015-07-06 02:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (69 votes), past polls