in reply to Re: open() destroying my vars?
in thread open() destroying my vars?

An exelecent point... however, upon looking further, both doing the substitution elsewhere and putting in an "or die", the script doesn't die. Moreover...
  1. It is going to the right file
  2. It works fine on three out of the four pages I'm using it for.
    I'm going to post a testcase for this soon, methinks.