I need to make some edits on small (~30 lines) text files. From reading perldoc and recent posts, am I correct in understanding that the proper way is to read the file in through one handle and write it out through another? If that is the case, I suppose I need to write in some code then to write the file out to a temp file, then either move it over top or delete the old file and rename the new file?
What is the accepted method in this scenario? Thanks! jlc