Welcome to the Monastery | |
PerlMonks |
Re^2: copying bash variables into a Perl scriptby Xilman (Hermit) |
on Jun 16, 2010 at 11:27 UTC ( [id://845005]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|