dumb_fellow has asked for the wisdom of the Perl Monks concerning the following question:
I have to find out some way to run Perl from two different locations depending on the OS installed ( Linux or AIX). So if the Shebang line is #!<path1> it works. If the shebang line is #!<path2> it works. The perl path has to be dynamically chosen depending on the OS installed in the system where the code is running from.
Can anybody help?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Dynamically choosing the perl path
by hippo (Archbishop) on Jun 22, 2015 at 13:06 UTC | |
|
Re: Dynamically choosing the perl path
by afoken (Chancellor) on Jun 22, 2015 at 13:16 UTC | |
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 | |
by Anonymous Monk on Jun 22, 2015 at 17:27 UTC | |
|
Re: Dynamically choosing the perl path
by Laurent_R (Canon) on Jun 22, 2015 at 17:26 UTC | |
|
Re: Dynamically choosing the perl path
by flexvault (Monsignor) on Jun 23, 2015 at 05:18 UTC | |
|
Re: Dynamically choosing the perl path
by Tanktalus (Canon) on Jun 26, 2015 at 04:23 UTC |