Free VMS Account!

Ovid publiustemp-tapx at yahoo.com
Wed Sep 5 11:56:51 BST 2007


--- Michael G Schwern <schwern at pobox.com> wrote:

> One thing I should note, changes to %ENV carry over from process to
> process in
> VMS.  Think of %ENV as being associated with the login, not the
> process.  So
> any changes you make to %ENV should be localized.

We explicitly delete any changes to %ENV in END blocks.  So near the
beginning of TAP::Parser, we have the following:

  $ENV{TAP_VERSION} = $MAX_TAP_VERSION;

  END {

      # For VMS.
      delete $ENV{TAP_VERSION};
  }

Is this not sufficient?

Cheers,
Ovid

--
Buy the book  - http://www.oreilly.com/catalog/perlhks/
Perl and CGI  - http://users.easystreet.com/ovid/cgi_course/
Personal blog - http://publius-ovidius.livejournal.com/
Tech blog     - http://use.perl.org/~Ovid/journal/


More information about the tapx-dev mailing list