>> does not work
The script just hangs at the point when it reaches the insertion code.
>> Note : the file handle is opened in the following mode "+>>".
Would Tie::File work if the file permissions were changed?
The reason i'm using TIE::File is to modify the file in place (insert content on finding placeholders within the file) instead of using a temp file to achieve the same.
In reply to Re^2: Inserting content into a file at a particular location
by perlpal
in thread Inserting content into a file at a particular location
by perlpal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |