Nicholas Clark wrote:
On Sat, Nov 24, 2007 at 09:28:12PM -0600, Ken Williams wrote:
On Nov 24, 2007, at 6:04 PM, Craig A. Berry wrote:
I'll let John check on whether his Cwd change look good, but I see two
VMS -related patches to PathTools in blead that are not in your svn
repository:
http://public.activestate.com/cgi-bin/perlbrowse/p/31431
http://public.activestate.com/cgi-bin/perlbrowse/p/31432
Thanks, I've applied them now.
Regarding the second patch, it seems like we should find a way to
make the test actually happen on VMS; the point of the test is to
make sure we don't muddle with %ENV, something it would seem like we
should be doubly vigilant on VMS about.
Is it permissible on VMS for us to at least check that the actual
keys of %ENV haven't changed before & after the call?
I never saw an answer to this question. Did this issue get resolved?
It would not be a reliable test as long as the %ENV hash is mapped to
VMS logical names. VMS logical names by default are system wide in
scope and are constantly changing based on what is going on in the system.
So it is quite likely that two snapshots of the keys for %ENV will have
different results.
The other issue brought up before is that several of the %ENV members
like "HOME" are dynamically generated if they did not exist. There is
currently no way in Perl to determine if they did not exist before they
were changed, and changing them is persistent after the exit of Perl.
We need a logical name lib/ext module to be part of the VMS distribution
in order to process the dynamically created environment variables properly.
-John
[EMAIL PROTECTED]
Personal Opinion Only