> -Original Message-
> From: Mcgregory Pinto [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 27, 2001 3:02 PM
> To: [EMAIL PROTECTED]
> Subject: Reading Environment Variables
>
>
> Hi all ...
>
> I´m working in a Unix environment, and I´ve two shell
On Tue, Nov 27, 2001 at 06:02:12PM -0200, Mcgregory Pinto wrote:
> my $grg = $ENV{GRG};
> print "$grg\n"; // must print 'aaa'
> system("xxx.sh")
> my $grg = $ENV{GRG};
> print "$grg\n"; // must print 'xxx'
> system("zzz.sh")
> my $grg = $ENV{GRG};
> print "$grg\n"; // must print 'zzz'
Hi all ...
I´m working in a Unix environment, and I´ve two shell scripts xxx.sh and
zzz.sh.
This scripts change the value of environment variable GRG initialized with
'aaa'. The first fill with 'xxx' the second fill with 'zzz'.
I need to call this scripts in a Perl script and get the variable GRG