---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
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
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
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
&
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