Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^5: Rename unreliable on Windows

by tobyink (Abbot)
on Apr 04, 2012 at 12:06 UTC ( #963431=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    1 until rename $file1, $file2;
    
  2. or download this
    my $attempts;
    while (not rename $file1, $file2)
    ...
      die "Could not rename file: $!" if $attempts > 7;
      sleep $attempts;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://963431]
help
Chatterbox?
[Corion]: Yay, it's Friday! All hail Crunchy!

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2016-12-09 07:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (148 votes). Check out past polls.