I need to use some CPAN modules in my application. If the person who will use my application doesn't like to install the required CPAN modules by himself, or it is not allowed to install modules, how should I handle that?
views:
99answers:
2
+6
A:
You can use PAR::Packer to create an executable bundle that contains all the CPAN modules your app needs to run.
friedo
2009-08-16 14:55:05
The OP could also use pp from PAR::Packer with the -p option to create PAR archives that contain only libraries and have no executable attached. This option allows the creation of multi-architecture PAR files if desired.
daotoad
2009-08-19 04:05:28
+3
A:
Or, you can copy the module's installation to your app's specific directory and include that in @INC.
Kristoffon
2009-08-16 15:12:15