1CPANPLUS::Module::Fake(U3s)er Contributed Perl DocumentatCiPoAnNPLUS::Module::Fake(3)
2
3
4
6 CPANPLUS::Module::Fake - fake module object for internal use
7
9 my $obj = CPANPLUS::Module::Fake->new(
10 module => 'Foo',
11 path => 'ftp/path/to/foo',
12 author => CPANPLUS::Module::Author::Fake->new,
13 package => 'fake-1.1.tgz',
14 _id => $cpan->_id,
15 );
16
18 A class for creating fake module objects, for shortcut use internally
19 by CPANPLUS.
20
21 Inherits from "CPANPLUS::Module".
22
24 new( module => $mod, path => $path, package => $pkg, [_id => DIGIT] )
25 Creates a dummy module object from the above parameters. It can take
26 more options (same as "CPANPLUS::Module->new" but the above are
27 required.
28
29
30
31perl v5.36.0 2023-01-20 CPANPLUS::Module::Fake(3)