CPANPLUS::Module::Author::Fake - dummy author object for CPANPLUS
- my $auth = CPANPLUS::Module::Author::Fake->new(
- author => 'Foo Bar',
- email => 'firstname.lastname@example.org',
- cpanid => 'FOO',
- _id => $cpan->id,
A class for creating fake author objects, for shortcut use internally by CPANPLUS.
Creates a dummy author object. It can take the same options as
, but will fill in default ones
if none are provided. Only the _id key is required.