in reply to running sh script from perl script
When referencing any code in your questions you should utilize <CODE> tags.
Now that thats out of the way, just dump using the sh script and update your variables via the %ENV hash as in $ENV{'JAVA_HOME'} etc.. However if sourcing existing sh files is mandantory, read the source file via your Perl script and regex for the name=value pairs and update the %ENV based on your results.
coreolyn
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: running sh script from perl script
by amit_ra (Initiate) on Jul 18, 2002 at 18:45 UTC |