Just a little note:
$ cat >foo.pl #!/usr/bin/perl $ENV{'FOO'} = 'bar'; system './foo.sh'; $ perl foo.sh
I think you mean perl foo.pl.
--
David Serrano
In reply to Re^2: Setting Environment variables in Perl
by Hue-Bond
in thread Setting Environment variables in Perl
by knsridhar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |