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?
Comment on
Re^2: Rename *_valid1.csv to .csv
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
rename
with an
unlink
to work around the limitation, if it exists.
[reply]
[d/l]
[select]
In Section
Seekers of Perl Wisdom