Why start two layers of sh? You're already in an sh when you do the backquotes!use YAML; %ENV = %{ Load `sh -c ". rcfile; perl -MYAML -e'print Dump \\%ENV'"` } +;
use YAML; %ENV = %{ Load qx{. rcfile; perl -MYAML -e 'print Dump \\%ENV'} };
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
In reply to •Re: Re: substitute of dotsh.pm
by merlyn
in thread substitute of dotsh.pm
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |