The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Module::License::Report::CPANPLUS - Interface to CPANPLUS::Backend

LICENSE

Copyright 2005 Clotho Advanced Media, Inc., <cpan@clotho.com>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SYNOPSIS

    use Module::License::Report::CPANPLUS;
    my $cp = Module::License::Report::CPANPLUS->new();
    my $module = $cp->get_module('Foo::Bar');
    my $license = $module->license();

DESCRIPTION

This is an abstraction of the CPANPLUS API for use by Module::License::Report. It's unlikely that you want to use this directly.

FUNCTIONS

$pkg->new()
$pkg->new({key => value, ...})

Create a new instance. Supported options are verbose and cb. cb is an instantiated CPANPLUS::Backend instance. If you omit that (which is recommended), one will be created for you.

$self->set_host($url)

Changes the mirror site that CPANPLUS uses to download packages.

$self->get_module($module_name)

Returns a Module::License::Report::CPANPLUSModule instance.

The argument can be either a module name like Foo::Bar or a distribution name like Foo-Bar.

AUTHOR

Clotho Advanced Media Inc., cpan@clotho.com

Primary developer: Chris Dolan