Originally posted by: niella
Depending on what you want to do, you could use the PAR CPAN module (Perl Archiver).
Using PAR, you would have the added benefit of leaving the O/S perl installation untouched/isolated, and bundle all the modules you require neatly together in a AIX executable. As soon as you run the executable for the first time, your perl program/modules all gets extracted once-off.
As an example, if I had a perl program myprog.pl that requires Package::Foo, and any other modules I do not want to install everywhere, I would simply:
-
create AIX binary, automatically include all used modules.
$ pp -o myprog.exe myprog.pl
Now simply copy and run myprog.exe on all your target servers.
cheers
Niel
#AIX-Forum