Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
Keep It Simple, Stupid
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (10)
As of 2014-04-16 07:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (418 votes), past polls