Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (10)
As of 2017-03-28 10:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (329 votes). Check out past polls.