Modules

  • ABCDE
  • FGHIL
  • MNOPS
  • TUX

Tools

CPANPLUS::Module::Fake

Perl 5 version 18.2 documentation
Recently read

CPANPLUS::Module::Fake

NAME

CPANPLUS::Module::Fake - fake module object for internal use

SYNOPSIS

  1. my $obj = CPANPLUS::Module::Fake->new(
  2. module => 'Foo',
  3. path => 'ftp/path/to/foo',
  4. author => CPANPLUS::Module::Author::Fake->new,
  5. package => 'fake-1.1.tgz',
  6. _id => $cpan->_id,
  7. );

DESCRIPTION

A class for creating fake module objects, for shortcut use internally by CPANPLUS.

Inherits from CPANPLUS::Module .

METHODS

new( module => $mod, path => $path, package => $pkg, [_id => DIGIT] )

Creates a dummy module object from the above parameters. It can take more options (same as CPANPLUS::Module->new but the above are required.