in reply to Dynamically choosing the perl path
Use symlinks.
Example: Desired perl on AIX is /usr/my/shiny/AIX-Perl/bin/perl, desired perl on Linux is /opt/my-shiny-perl5/bin/perl. Create a symlink /usr/local/bin/my-shiny-perl on both systems, pointing to the former on AIX, to the latter on Linux. Change the shebang line to #!/usr/local/bin/my-shiny-perl.
Alexander
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Dynamically choosing the perl path
by dumb_fellow (Novice) on Jun 22, 2015 at 17:30 UTC | |
by afoken (Chancellor) on Jun 23, 2015 at 11:19 UTC | |
by afoken (Chancellor) on Jun 23, 2015 at 11:50 UTC | |
by dumb_fellow (Novice) on Jun 24, 2015 at 18:24 UTC | |
|
Re^2: Dynamically choosing the perl path
by Anonymous Monk on Jun 22, 2015 at 17:27 UTC |