in reply to Re: Working with word document
in thread Working with word document
hi, There is no error message. The .doc file just goes blank. I tried the both modifications you have mentioned. But neither of them works out for me.
here is the code i have tried
open my $fh,'<','file1.doc' or die "can't open file:"; open my $fh2,'>>','file2.doc' or die "can't open file:"; while(<fh>) { print fh2 "$_\n"; } close $fh2 or die "can't close file:"; close $fh or die "can't close file:";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Working with word document
by 2teez (Vicar) on Aug 27, 2012 at 22:41 UTC | |
by nick321 (Initiate) on Aug 27, 2012 at 23:15 UTC | |
by 2teez (Vicar) on Aug 27, 2012 at 23:43 UTC | |
by clueless newbie (Curate) on Aug 28, 2012 at 12:09 UTC |