...I indeed need some wisdom here
I have a perl script (that calls other external perl scripts) that references all necessary external modules in multiple directories such as perlModules/, LibXML/, etc...
...so in this case, I can execute the main script which calls to the external scripts and referencing the module locations on any perl version and; it works flawlessly. Tested on 5.10 and 5.16
Because the number of referenced directories and script calls from the main perl script (I have no control over consolidating the number of scripts and directories by the way), I would like to bundle this into a single (or 2 file set) executable so that it can be executed across multiple perl versions like I can currently do if it was not bundled up...
NOTE: The machines I will be dealing with are tightly controlled so there isn't a whole lot I can do to ensure a CPAN/YUM modules can be installed. (1) oracle linux 6.4 with perl 5.10 and (2) oracle linux 7.2 with perl 5.16
I have tried:
PAR, but the target machine(s) do not have PAR installed. Creating the bundle from par.pl and zip, using parl or even executing the par archive using: perl -MPAR=./local.par <script_name> causes issues (which can be discussed later). I DO think this is the best option and am willing to push forward in ensuring a module gets installed if necessary but looking for a simple solution which escapes me at this point
PAR::Packer, but it diligently tries to install the bootstrap modules (thanks Scan::Deps) which causes cross platform issues
Sorry that some of the details are vague here so all I am looking for at this point is to be pointed in the right direction on how to implement using a free packaging solution. Thanks in advance!
In reply to stand-alone perl script(s) by ddelisle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |