CPANPLUS::Dist
my $dist = CPANPLUS::Dist->new( format => 'build', module => $modobj, );
CPANPLUS::Dist is a base class for any type of CPANPLUS::Dist:: modules.
CPANPLUS::Dist::
Returns the CPANPLUS::Module object that parented this object.
CPANPLUS::Module
Returns the Object::Accessor object that keeps the status for this module.
Object::Accessor
All accessors can be accessed as follows: $deb->status->ACCESSOR
Boolean indicating whether the dist was created successfully. Explicitly set to 0 when failed, so a value of undef may be interpreted as not yet attempted.
0
undef
not yet attempted
Boolean indicating whether the dist was installed successfully. Explicitly set to 0 when failed, so a value of undef may be interpreted as not yet attempted.
Boolean indicating whether the dist was uninstalled successfully. Explicitly set to 0 when failed, so a value of undef may be interpreted as not yet attempted.
The location of the final distribution. This may be a file or directory, depending on how your distribution plug in of choice works. This will be set upon a successful create.
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 dist_type.
MODOBJ
format
makemaker
CPANPLUS::Dist::MM
build
CPANPLUS::Dist::Build
dist_type
Returns a CPANPLUS::Dist object on success and false on failure.
Returns a list of the CPANPLUS::Dist::* classes available
Returns true if this prereq is satisfied. Returns false if it's not. Also issues an error if it seems "unsatisfiable," i.e. if it can't be found on CPAN or the latest CPAN version doesn't satisfy it.
Makes sure prerequisites are resolved
XXX Need docs, internal use only
To install CPANPLUS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CPANPLUS
CPAN shell
perl -MCPAN -e shell install CPANPLUS
For more information on module installation, please visit the detailed CPAN module installation guide.