Perl-Sensitive Sunglasses | |
PerlMonks |
Re^2: help needed in File::copyby uva (Sexton) |
on Mar 01, 2006 at 12:25 UTC ( [id://533632]=note: print w/replies, xml ) | Need Help?? |
dear monks,
copy("c:\\dir1\\text.errmsg", "c:\\dir2\\text.errmsg") || die "Can't open text.errmsg:$!";
when i ran the program, it creates the file and copied the content. next time i ran the program (destination file is existing now ) it is giving error message. Normally it should overwrite it ,but it is not happening here.. can u explain in detail??
In Section
Seekers of Perl Wisdom
|
|