cpan

All posts tagged cpan

This is a newer API library into the CPAN repositories. It has a bunch of added functionality that CPAN doesn’t have. To install it, you can use CPAN:

Once done, exit

Has added functionality: Some of the nicer features are ability to search by modules (m Test::TCP) or authors (a DMAKI) from within the API. The output displays numbers next to the outputted modules so you can quickly install “i 1” (install #1 in the list). Ability to automatically install all dependencies a particular module install needs. Print error stacks (p), able to self-update itself. I’m sure there are many other cool features that I’m not covering but these are the main ones I tend to use.

So this sometimes drives me crazy, having to sit there and watch your CPAN perl module installation as it will stop the process only to ask you ..do you wish to also install whatever other needed dependency module. [yes] enter [yes] enter [yes] enter..

cpan> o conf build_requires_install_policy yes
cpan> o conf commit

Or using by using CPANPLUS, you can choose yes to all for each individual module.