Hi,

>>Mark has provided the answer (and the cause).
>
>Do tell.  %ENV is definitely capable of using LNM$FILE_DEV, but
>whatever problem you ran into might well trip up someone else.

The issue was that PERL_ENV_TABLES is currently defined /SYSTEM to be
CRTL_ENV,LNM$PROCESS on my server.  Mark set it up that way for reasons
which escape us both at the moment :-)  I'm tempted to simply DEASSIGN
the PERL_ENV_TABLES logical to fix my problem, but first I have to work
out what this might break,

Regards,

        Jeremy Begg


>>>-----Original Message-----
>>>From: Jeremy Begg [mailto:[EMAIL PROTECTED]
>>>Sent: Monday, February 23, 2004 5:07 PM
>>>To: [EMAIL PROTECTED]
>>>Cc: [EMAIL PROTECTED]
>>>Subject: Using %ENV array to get system logical names
>>
>>
>>>Hi,
>>
>>>I'm reworking a Perl script for use with the WASD webserver and have run
>>>into a small problem.  I need the script to be able to check for the
>>>presence of a specific logical name and use its value if it exists.  If the
>>>logical name doesn't exist, the program should use a default value.
>>
>>>Unfortunately, I'm finding $ENV{name} appears to be undefined if 'name' is a
>>>logical name.  It only seems to find logical names defined in the
>>>LNM$PROCESS logical name table.
>>
>>>What do I need to do to get $ENV{} to search all logical name tables defined
>> >by LNM$FILE_DEV (the usual default logical name table search list)?



>--
>________________________________________
>Craig A. Berry
>mailto:[EMAIL PROTECTED]

>"... getting out of a sonnet is much more
> difficult than getting in."
>                 Brad Leithauser

Reply via email to