Modules

  • ABCDE
  • FGHIL
  • MNOPS
  • TUX

Tools

CPANPLUS::Module::Author::Fake

Perl 5 version 10.1 documentation
Recently read

CPANPLUS::Module::Author::Fake

NAME

CPANPLUS::Module::Author::Fake

SYNOPSIS

  1. my $auth = CPANPLUS::Module::Author::Fake->new(
  2. name => 'Foo Bar',
  3. email => 'luser@foo.com',
  4. cpanid => 'FOO',
  5. _id => $cpan->id,
  6. );

DESCRIPTION

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

Inherits from CPANPLUS::Module::Author .

METHODS

new( _id => DIGIT )

Creates a dummy author object. It can take the same options as CPANPLUS::Module::Author->new , but will fill in default ones if none are provided. Only the _id key is required.