RE: [Perl-unix-users] Setting env vars in hp-ux

2001-10-17 Thread Christopher Hahn
Craig, Look up the hash %ENV Good Luck, Christopher -Original Message- From: Craig Sharp [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 17, 2001 3:26 PM To: [EMAIL PROTECTED] Subject: [Perl-unix-users] Setting env vars in hp-ux Hi all, I wrote a script in perl for hp-ux.

RE: [Perl-unix-users] Setting env vars in hp-ux

2001-10-17 Thread Arnold, Craig
Try: $ENV{UNIX95} = "XPG4" ; I use HP-UX also and have used this many times, although it hasn't got much to do with HP-UX. Any processes initiated by the script will have it set in their environment. hth, Craig Arnold Boeing Space and Communications International Space Station Guidance, Navig

[Perl-unix-users] Setting env vars in hp-ux

2001-10-17 Thread Craig Sharp
Hi all, I wrote a script in perl for hp-ux. The script was designed to check for a process and compare the cpu to a threshold and then alarm if the threshold is exceeded. Here is the problem. I need to set a hp-ux environment variable everytime the script is run. The script will run