At 1:23 PM +1030 2/24/04, Jeremy Begg wrote: > >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. > >Thanks, > > 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
