nbowden has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks,

I often have perl scripts that I'd like to ship out to colleagues who dont have perl installed on their windows machines.

I've found a great installer (INNO) to automate the installation process for them but, I'd really like an easy way to strip out all of the un-necessary perl modules, pod files etc. that don't need to get shipped in the perl directory of the installer that gets created.

I've been having a look at the Devel::Dependancies module, with a view to trying to script a solution to cut out all un-used files...but I thought, "somebody must have already done this".

Anyone know any solutions to this ?

Replies are listed 'Best First'.
Re: Removing un-necessary modules
by rafl (Friar) on Mar 20, 2006 at 13:12 UTC

    How about using PAR? It bundles all modules needed to run the application into an archive and can also put a perl interpreter into it so you can also run it on a platform without a perl interpreter installed.

    Cheers, Flo

Re: Removing un-necessary modules
by bobf (Monsignor) on Mar 20, 2006 at 14:43 UTC