Thanks bro. After looking some more I realized it probably does affect something because when doing the in-place edit a print without specifying a filehandle prints to the file. I am just going to save the filehandle before I do the in-place edit and then restore it.
Thanks again.