in reply to Re: Capture Contents AND Overwrite without Opening Twice?
in thread Capture Contents AND Overwrite without Opening Twice?

I love it :-) It gets even better if you change $FH to a bareword filehandle FH, then the resulting code remains runnable, albeit useless ;-)