XP is just a number | |
PerlMonks |
Re: overwrite a fileby punch_card_don (Curate) |
on Apr 01, 2005 at 22:59 UTC ( [id://444315]=note: print w/replies, xml ) | Need Help?? |
Do you mean you're trying to create a "copy" subroutine to use in a program? Something like:
If so, then maybe the problem is in how you're opening the destination file.
to read a file to write to a file, creating it if necessary to append to a file, creating it if necessary Forget that fear of gravity,
In Section
Seekers of Perl Wisdom
|
|