Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: File Extension Renaming

by dimar (Curate)
on Jul 05, 2006 at 17:05 UTC ( #559386=note: print w/ replies, xml ) Need Help??

in reply to File Extension Renaming

Also note, to prevent possible errors and data loss, you should make sure your renaming operation does not introduce unintended naming collisions.

For example, if your directory already has a file called "foobar.txt", what does your program do when it encounters the file "foobar.log"? Some of the code listed above handles this issue, but it does well to expressly understand this and figure out how you want to handle it.


Comment on Re: File Extension Renaming

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2015-11-30 02:18 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (756 votes), past polls