Check out Tie::File.
You can take a look at some posts which mention it.
In reply to Re: Edit a New file in place after reading it in
by Anonymous Monk
in thread Edit a New file in place after reading it in
by perlynewby
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |