in reply to Moving .doc Files
How about this:
# open them my $old = "something.doc"; my $new = "somethingelse.doc"; open OLD, '<', $old or die "Can't open old: $!\n"; open NEW, '>', $new or die "Can't open new: $!\n"; binmode OLD; # only need these on windows binmode NEW; # copy print NEW <OLD>; # close them close OLD; close NEW;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Moving .doc Files
by bkiahg (Pilgrim) on Jun 23, 2004 at 23:00 UTC |