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}' %
In reply to Re:x2 Shell/Perl Variables
by grinder
in thread Shell/Perl Variables
by qball
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |