DOKK / manpages / debian 11 / libcpanplus-perl / CPANPLUS::Module::Author::Fake.3pm.en
CPANPLUS::Module::Author::Fake(3pm) User Contributed Perl Documentation CPANPLUS::Module::Author::Fake(3pm)

CPANPLUS::Module::Author::Fake - dummy author object for CPANPLUS

    my $auth = CPANPLUS::Module::Author::Fake->new(
                    author  => 'Foo Bar',
                    email   => 'luser@foo.com',
                    cpanid  => 'FOO',
                    _id     => $cpan->id,
                );

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

Inherits from "CPANPLUS::Module::Author".

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.

2020-12-21 perl v5.32.0