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

2001-10-18 Thread Craig Sharp
---Original Message- > From: Craig Sharp [SMTP:[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 s

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

2001-10-18 Thread Simon Oliver
I would put this in a BEGIN block to make certain that the variables are set before any other code is executed. BEGIN { $ENV{UNIX95} = "XPG4"; } -- Simon Oliver ___ Perl-Unix-Users mailing list. To unsubscribe go to http://listserv.ActiveSt

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
tation Guidance, Navigation and Control Huntington Beach, CA (714)896-3311 x68266 > -Original Message- > From: Craig Sharp [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, October 17, 2001 3:26 PM > To: [EMAIL PROTECTED] > Subject: [Perl-unix-users] Setting env vars in hp-ux &

[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