CPAN::Plugin(3perl) Perl Programmers Reference Guide CPAN::Plugin(3perl)
NAME
CPAN::Plugin - Base class for CPAN shell extensions
SYNOPSIS
package CPAN::Plugin::Flurb;
use parent 'CPAN::Plugin';
sub post_test {
my ($self, $distribution_object) = @_;
$self = $self->new (distribution_object => $distribution_object);
...;
}
DESCRIPTION
Alpha Status
The plugin system in the CPAN shell was introduced in version 2.07 and is still considered
experimental.
How Plugins work?
See "Plugin support" in CPAN.
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 distribution
is_xs
Predicate to detect whether package contains XS.
AUTHOR
Branislav Zahradnik <barney AT cpan.org>
perl v5.34.0 2025-07-25 CPAN::Plugin(3perl)
Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2025-11-21 17:29 @216.73.216.164 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)