I can confirm the same thing happens in the latest 5.9.x development snapshot.  The 
documentation at

http://www.perldoc.com/perl5.8.4/vms/perlvms.html#Perl-variables

seems to indicate that what you are trying to do should work.  However, the code 
apparently only looks at LNM$FILE_DEV and does not allow you to name your own logical 
name tables.

You may be able to work around this by defining PERL_ENV_TABLES to LNM$FILE_DEV, and 
then defining LNM$FILE_DEV to the list of tables that you want.

On Thursday, October 21, 2004, at 07:55AM, <[EMAIL PROTECTED]> wrote:

>Can anyone explain why this behavoir from perl -"V" ?
>The differenct is that in one version CRTL_ENV is not part of PERL_ENV_TABLES
>and in the second version it is.
>
>1.version
>
>$ define PERL_ENV_TABLES LNM$PROCESS,LNM$JOB
>$ perl -"V"
>
>.
>.
>.
>Characteristics of this PERLSHR image:
>  Compile-time options: DEBUGGING
>  Built under VMS
>  Compiled at Jun 10 2003 11:05:23
>Fatal VMS error (status=100052) at ROOT$:[PERL5_006_01]VMS.C;2, line 601.
>%RMS-F-SYN, file specification syntax error
>
>2. version
>
>$ define PERL_ENV_TABLES CRTL_ENV,LNM$PROCESS,LNM$JOB
>$ perl -"V"
>
>.
>.
>.
>Characteristics of this PERLSHR image:
>  Compile-time options: DEBUGGING
>  Built under VMS
>  Compiled at Jun 10 2003 11:05:23
>  %ENV:
>    PERL5LIB="."
>    PERLSHR="PERL_ROOT:[000000]PERLSHR.EXE"
>    PERL_BADFREE="0"
>    PERL_ENV_TABLES="CRTL_ENV"
>    PERL_ROOT="DSA107:[WWW.PERL5_006_01.]"
>  @INC:
>    .
>    perl_root:[lib.VMS_AXP.5_6_1]
>    perl_root:[lib]
>    perl_root:[lib.site_perl.VMS_AXP]
>    perl_root:[lib.site_perl]
>    /perl_root/lib/site_perl
>
>Aside from the difference I can detect no difference ?
>
>Regards
>Jakob Snoer
>Nordic Processor
>Data Warehouse Handel Drift / 8612
>Tlf 436736 
>[EMAIL PROTECTED]
>
>

Reply via email to