Tie::File will do what it sounds like you want.
In reply to Re: Inserting text into the middle of a file without clobbering any other text
by theorbtwo
in thread Inserting text into the middle of a file without clobbering any other text
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |