Have you looked at Tie::File? Otherwise, you will have to read in the file, make your changes and then write out the whole file again.
Good luck with your teacher!
In reply to Re: HELP!! urgent!writing contents toa specific line in an existing file
by Corion
in thread HELP!! urgent!writing contents toa specific line in an existing file
by compskian
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |