Remember, a child process inherits the variables exported by the parent,
and not the other way around.

So this what I do:

export foo="la", bar="bar", koobi="momoni"

then in your Perl script, you have read in these variables
as:

#!/opt/local/bin/perl

my $aa = $ENV{foo};
my $bb = $ENV{bar};
my $cc = $ENV{koobi};

print "\n foo = $aa, bar = $bb, koobi=$cc\n\n";


__________________

William Ampeh (x3939)
Federal Reserve Board


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to