I am distributing a Perl-based piece of software and wanted to make it as easy as possible for people to install it when it comes to the CPAN dependencies. I'm assuming they do not have any superuser privileges. Previously when I've distributed software I've simply listed the CPAN requirements in the install doc and left it up to the people installing the software to have these dependencies in their Perl @INC. I would like to make it much easier this time around and was wondering what is the best strategy for facilitating missing CPAN dependencies?
- Should I include all non-XS CPAN dependencies in a local lib within the distribution?
- Should I do something a la Catalyst with Module::AutoInstall and local::lib?
- Should I use something like lib::xi?
Advice more than welcome :-)