see this:
open my $fh2,'>>','file2.doc' or die "can't open file:";
With the double arrow ">>" the file file2.doc is created if it doesn't exist, but if it does, it "appends" to the file.
Thus, the increase in the size of the file. So, to just add to the file you will use do like so:
open my $fh2,'>','file2.doc' or die "can't open file:";
Please check open for more detailed information.
In reply to Re^5: Working with word document
by 2teez
in thread Working with word document
by nick321
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |