Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
overwrite a fileby Anonymous Monk |
on Apr 01, 2005 at 21:25 UTC ( [id://444293]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks,
I want to copy a file over to another directory and if that file exists, I would like to overwrite the file. A copy command: copy ( source, destination ); But, the copy command does not overwrite the file if it already exists. Is there a way I can force the overwrite? Thanks in advance.
Back to
Seekers of Perl Wisdom
|
|