Hello,
You should deploy the version of peel and modules that you need in the
same ebb as your script in an Apollo env. Once you have done that your
shebang line should look as follows:
/apollo/bin/env -e envName perl
This will ensure your script is deployable and portable.
Regards, Keith
Sent from my iPhone
On 2009/02/15, at 8:16, Kevin <[email protected]> wrote:
Hi All,
I have a script that may be executed on multiple hosts. A troubling
issue is that the perl interpreter on each host is installed at
different
location such as /opt/perl/5.8.0/bin/perl, /opt/perl/5.8.5/bin/perl,
or /
bin/perl. My question is: how can I make my script working on all of
these hosts?
I solve this problem by configuring my PATH properly based on
hostname.
But most of my teammates do not do so, and then complain my script
is too
hard to use. Thank you.
--
Kevin
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/