E-mail sent offline quoting, and pointing him to, the %ENV section of PERLVMS.

Thanks. I am a bit overwhelmed by the amount of Perl documentation and have not been able to absorb all of it yet, and dealing with the %ENV hash is not something I have fully worked out the internals with, other than putting in some fixes to hide a bug in the existing CRTL when translating some UNIX names to VMS.

Based on this information, if the Perl features work as documented, most of what Makemaker has to do on VMS to eliminate the macro expansion hacks that is to change the logical name PERL_ENV_TABLES for while Makemaker is running so that the environment variables are put in CLISYM_GLOBAL or CLISYM_LOCAL.

They need to be in GLOBAL if the make will need them after Perl exits, but only in LOCAL if the make will be done a a child process.

Of course that looks like it will only work if none of the environment variables needed for the makefile are already in the logical name table or the CRTL internal environment table, so it looks like a special case will be needed for them.

That looks simple enough that I may be able to test that next week depending on what else comes up for a quick hack. A real fix would be to put the setting and restoring of the PERL_ENV_TABLES in an initialization and cleanup routine, but that would be stretching what I know of Perl.

And that really does not need any of my new hacks to make work unless I have to do something extra to force an environment variable in a logical name table to be visible in the global symbol table.

I would also need be able to find out what Make program that Makemaker thinks it should be building for with out using $^O of 'VMS' to imply "MMK/MMS"?

What I may need is a mode to tell Perl on VMS where to create new
environment variables, and on VMS makemaker would need to set
it.  Then
all the macro expansion stuff is in the VMS filehandling would not be
needed for makemaker, and probably not needed anywhere else.

So from the VMS folks, anyone familiar enough with how the %ENV is
handled to give me some hints?

-John
[EMAIL PROTECTED]
Personal Opinion Only.

Reply via email to