Perl Diver 2.31
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

CPAN::Plugin

Name CPAN::Plugin
Version 0.96
Located at /usr/share/perl5/vendor_perl
File /usr/share/perl5/vendor_perl/CPAN/Plugin.pm
Is Core No
Search CPAN for this module CPAN::Plugin
Documentation CPAN::Plugin
Module Details CPAN::Plugin


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 CPAN/``Plugin support''.


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@cpan.org>

Perl Diver brought to you by ScriptSolutions.com © 1997- 2024