Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

RE: RE: RE: Odd file rename

by lhoward (Vicar)
on Jun 14, 2000 at 17:07 UTC ( #18084=note: print w/replies, xml ) Need Help??

in reply to RE: RE: Odd file rename
in thread Odd file rename

I proposed the link/unlink solution because IMHO it allows for finer granularity of error handling (not that my example took advantage of this, but I could have). Also, according to this earlier perlmonks article rename a user was experiencing rename failures which ended up deleting the file being renamed.

Of course, this shouldn't be an issue if the perl rename function really just calls the system rename call. I guess this depends on which OS you are running.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://18084]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2021-05-15 23:46 GMT
Find Nodes?
    Voting Booth?
    Perl 7 will be out ...

    Results (151 votes). Check out past polls.