You can probably do:
It's not very nice, but - I assume you've a similar situation to me - a complicated set of shell scripts, that's got all sorts of built ins configured via a 'sourceable' file. And that file is maintained, but your version won't be.my $env_from_script = `. filename; env`; my $specific_var = `. filename; echo $var_I_want`;
In reply to Re: How to "source" a shell file in Perl?
by Preceptor
in thread How to "source" a shell file in Perl?
by jfroebe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |