Have a look in perlfaq5: How do I change one line in a file/delete a line in a file/insert a line in the middle of a file/append to the beginning of a file?
In reply to Re: How to delete and add line in the middle of a file?
by mischief
in thread How to delete and add line in the middle of a file?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |