CPAN::Plugin (3)
Leading comments
Automatically generated by Pod::Man 4.09 (Pod::Simple 3.35) Standard preamble: ========================================================================
NAME
CPAN::Plugin - Base class for CPAN shell extensionsSYNOPSIS
package My::Plugin; use base 'CPAN::Plugin'; sub post_test { my ($self, $distribution_object) = @_; $self = $self->new (distribution_object => $distribution_object); ...; }
DESCRIPTION
Alpha Status
The plugin system in theCPAN
shell was introduced in version 2.07 and
is still considered experimental.
How Plugins work?
See ``Plugin support'' inCPAN
.
METHODS
plugin_requires
returns list of packages given plugin requires for functionality. This list is evaluated using "CPAN-"use_inst> method.distribution_object
Get current distribution object.distribution
distribution_info
build_dir
Simple delegatees for misc parameters derived from distributionis_xs
Predicate to detect whether package containsXS.