in reply to Re: search contents of one file and replace with contents of another to make a new file
in thread SOLVED!!!: search contents of one file and replace with contents of another to make a new file

Yes, a close is the best way.
However in this situation, a new OPEN for that same filehandle will cause a "close" before the next OPEN happens.
So basically this "works".
  • Comment on Re^2: search contents of one file and replace with contents of another to make a new file

Replies are listed 'Best First'.
Re^3: search contents of one file and replace with contents of another to make a new file
by marinersk (Priest) on May 08, 2015 at 23:19 UTC
    I love Perl.