err... didn't actually test that... but I'm sure it works :)open OLD "<", $oldfile or die "Can't open $oldfile ($!)\n"; open NEW ">", $newfile or die "Can't open $newfile ($!)\n"; print NEW while(<OLD>); close OLD; close NEW;
In reply to Re: How to copy a file
by Bloodrage
in thread How to copy a file
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |