NAME

CPANPLUS::Dist

SYNOPSIS

my $dist = CPANPLUS::Dist->new( 
                            format  => 'build',
                            module  => $modobj, 
                        );

DESCRIPTION

CPANPLUS::Dist is a base class for any type of CPANPLUS::Dist:: modules.

$dist = CPANPLUS::Dist->new( module => MODOBJ, [format => DIST_TYPE] );

Create a new CPANPLUS::Dist object based on the provided MODOBJ. The optional argument format is used to indicate what type of dist you would like to create (like makemaker for a CPANPLUS::Dist::MM object, build for a CPANPLUS::Dist::Build object, and so on ). If not provided, will default to the setting as specified by your config.

Returns a CPANPLUS::Dist object on success and false on failure.

_resolve_prereqs

Makes sure prerequisites are resolved

XXX Need docs, internal use only