CPAN::Command - Load CPAN command plugins


CPAN-Command documentation Contained in the CPAN-Command distribution.

Index


Code Index:

NAME

Top

CPAN::Command - Load CPAN command plugins

VERSION

Top

version 1.100840

SYNOPSIS

Top

    # sudo perl -MCPAN::Command -e 'CPAN::shell()'
    # cpan> repo Foo::Bar
    # cpan> homepage Foo::Bar
    # cpan> bugtracker Foo::Bar

DESCRIPTION

Top

This module is a plugin loader for CPAN commands in the CPAN::Commmand::* namespace.

    # sudo perl -MCPAN::Command -e 'CPAN::shell()'

will load all command plugins in that namespace, then run the CPAN shell as usual. The pluggable commands are now available. For an example of such a command see CPAN::Command::Bugtracker.

This module also loads the CPAN package so you can run, for example, its shell() function.

INSTALLATION

Top

See perlmodinstall for information and options on installing Perl modules.

BUGS AND LIMITATIONS

Top

No bugs have been reported.

Please report any bugs or feature requests through the web interface at http://rt.cpan.org/Public/Dist/Display.html?Name=CPAN-Command.

AVAILABILITY

Top

The latest version of this module is available from the Comprehensive Perl Archive Network (CPAN). Visit http://www.perl.com/CPAN/ to find a CPAN site near you, or see http://search.cpan.org/dist/CPAN-Command/.

The development version lives at http://github.com/hanekomu/CPAN-Command/. Instead of sending patches, please fork this project using the standard git and github infrastructure.

AUTHOR

Top

  Marcel Gruenauer <marcel@cpan.org>

COPYRIGHT AND LICENSE

Top


CPAN-Command documentation Contained in the CPAN-Command distribution.

use 5.008_001;
use strict;
use warnings;

package CPAN::Command;
our $VERSION = '1.100840';
# ABSTRACT: Load CPAN command plugins
use CPAN;    # so the plugins have something to work with
use Module::Pluggable
  search_path => ['CPAN::Command'],
  require     => 1;
BEGIN { __PACKAGE__->plugins }    # just load them
1;


__END__