Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: Rename *_valid1.csv to .csv

by Ma (Novice)
on Nov 05, 2013 at 14:46 UTC ( [id://1061313]=note: print w/replies, xml ) Need Help??


in reply to Re: Rename *_valid1.csv to .csv
in thread Rename *_valid1.csv to .csv

Thank you. Yes, I took the relevant portion from the main program so that its easy to explain. The code you posted worked perfectly, except that it does not overwrite the file if it already exist. Any way to overwrite the file?

Replies are listed 'Best First'.
Re^3: Rename *_valid1.csv to .csv
by marinersk (Priest) on Nov 05, 2013 at 17:26 UTC
    Check the documentation, but I doubt it. You can precede the renamewith an unlinkto work around the limitation, if it exists.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (3)
As of 2024-04-19 17:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found