1CPANPLUS::Module::Fake(3Ppemr)l Programmers Reference GuCiPdAeNPLUS::Module::Fake(3pm)
2
3
4
6 CPANPLUS::Module::Fake
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.10.1 2009-02-12 CPANPLUS::Module::Fake(3pm)