CPANPLUS::Module::Fake
- my $obj = CPANPLUS::Module::Fake->new(
- module => 'Foo',
- path => 'ftp/path/to/foo',
- author => CPANPLUS::Module::Author::Fake->new,
- package => 'fake-1.1.tgz',
- _id => $cpan->_id,
- );
A class for creating fake module objects, for shortcut use internally by CPANPLUS.
Inherits from CPANPLUS::Module
.
Creates a dummy module object from the above parameters. It can
take more options (same as CPANPLUS::Module->new
but the above
are required.