A Google check showed that others are not happy with $env() - is it maybe a Perl version issue?
http://www.nntp.perl.org/group/perl.vmsperl/12197 Howard Taylor Information Technology Group, Coast Capital Savings 203-3750 Shelbourne Street, Victoria, BC V8P 4H4 Phone: (250)483-8219 Fax: (250)477-7263 -----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)? Thanks, Jeremy Begg +---------------------------------------------------------+ | VSM Software Services Pty. Ltd. | | http://www.vsm.com.au/ | | "OpenVMS Systems Management & Programming" | |---------------------------------------------------------| | P.O.Box 402, Walkerville, | E-Mail: [EMAIL PROTECTED] | | South Australia 5081 | Phone: +61 8 8221 5188 | |---------------------------| Mobile: 0414 422 947 | | A.C.N. 068 409 156 | FAX: +61 8 8221 7199 | +---------------------------------------------------------+
