|
|
| Do you know where your variables are? | |
| PerlMonks |
Re^2: help needed in File::copyby uva (Sexton) |
| on Mar 01, 2006 at 07:25 UTC ( [id://533632]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
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
|
|
||||||||||||||||||||||||||||