in reply to Re: Shell/Perl Variables
in thread Shell/Perl Variables
Depending on whether the environment variables are exported or not, your suggestion might not work:
% FOO=bar % echo $FOO bar % perl -le 'print shift' $FOO bar % perl -le 'print $ENV{FOO}' %
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Shell/Perl Variables
by Abigail (Deacon) on Jun 28, 2001 at 01:32 UTC |