Welcome dumb_fellow,
I have the same situation with AIX and Linux servers. I have found that the easiest method for me is to have the common shebang to be:
You can use any name i.e. 'myGoodPerl', etc. This allows you to define using a symbolic link which Perl to use. The script is the same on all machines, but the symbolic link is set-up once. I hope I explained this properly, since I try not to use the AIX or Linux default Perls, but to always use a Perl that I compiled and installed.#!/usr/local/bin/pyrperl
I never type 'perl', but always 'pyrperl', so on all machines I'm working with a known and tested Perl. YMMV.
Regards...Ed
"Well done is better than well said." - Benjamin Franklin
In reply to Re: Dynamically choosing the perl path
by flexvault
in thread Dynamically choosing the perl path
by dumb_fellow
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |