http://www.perlmonks.org?node_id=2608

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I have a file I am using on my website, and I want to go in, at a specified spot, and change|add info to that spot. Is there an easier way besides writing to a temp file, then renaming the temp file over the old file? Thanks