GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  CPAN::PLUGIN (3)

.ds Aq ’

NAME

CPAN::Plugin - Base class for CPAN shell extensions

CONTENTS

SYNOPSIS



   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 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@cpan.org>
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.22.1 CPAN::PLUGIN (3) 2015-10-17

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.