PPM::Make::CPAN - helper module for using ppm within


  my $ppm = PPM::Make::CPAN->new(%opts);


PPM::Make::CPAN is used to build a PPM (Perl Package Manager) distribution from a CPAN source distribution and then install it with the ppm utility. See PPM::Make for a discussion of details on how the ppm package is built. Available options are

no-cfg => 1

Do not read a .ppmcfg configuration file specifying options to pass to PPM::Make.

force => 1

If the package or module requested is already installed, PPM installs nothing. The force option can be used to make PPM install a package even if it's already present. With force PPM resolves file conflicts during package installation or upgrade by allowing files already installed by other packages to be overwritten and ownership transferred to the new package. This may break the package that originally owned the file. This is available within PPM4 only.

nodeps => 1

The nodeps option makes PPM attempt to install the package without resolving any dependencies the package might have. This is available within PPM4 only.

area => $area

By default, new packages are installed in the "site" area, but if the "site" area is read only, and there are user-defined areas set up, the first user-defined area is used as the default instead. Use the area option to install the package into an alternative location.


This program is copyright, 2008, by Randy Kobes <>. It is distributed under the same terms as Perl itself.


PPM::Make, and PPM.