in reply to Re: copying bash variables into a Perl script
in thread copying bash variables into a Perl script
Here is another but rather silly way: have the Perl script read the source of the bash script and extract the names and values of the bash variables.
The only advantage I see of this approach over your suggestions is that the Perl script needs only to know the name of the bash script. It does not need to know either the number or the names of the bash variables.
Paul
|
|---|