Manual

- Overview
- Tutorials
- FAQs
- History / Changes
- License

Reference

- Language
- Functions
- Operators
- Special Variables
- Pragmas
- Utilities
- Internals
- Platform Specific

Modules

- A • B • C • D • E
- F • G • H • I • L
- M • N • O • P • S
- T • U • X

News / Blogs

- Perl Buzz
- Perl Iron Man
- Perlsphere
- Planet Perl
- TPF news
- Use Perl

See also

- CPAN
- Perl.org
- Perl.com
- Perl 5 Wiki
- Perl Jobs
- Perl Mongers
- Perl Monks

Contact

- Site designed and maintained by Jon Allen (JJ)
- http://perl.jonallen.info

- View the project page and FAQs

# CPANPLUS::Module::Fake

Perl 5 version 10.1 documentation
Go to top • Show page index • Download PDF

# CPANPLUS::Module::Fake

- NAME
- SYNOPSIS
- DESCRIPTION
- METHODS
  - new( module => $mod, path => $path, package => $pkg, [_id => DIGIT] )

# NAME

CPANPLUS::Module::Fake

# SYNOPSIS

        my $obj = CPANPLUS::Module::Fake->new(                module  => 'Foo',                path    => 'ftp/path/to/foo',                author  => CPANPLUS::Module::Author::Fake->new,                package => 'fake-1.1.tgz',                _id     => $cpan->_id,            );

# DESCRIPTION

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

Inherits from `CPANPLUS::Module` .

# METHODS

## new( module => $mod, path => $path, package => $pkg, [_id => DIGIT] )

Creates a dummy module object from the above parameters. It can take more options (same as `CPANPLUS::Module->new` but the above are required.

Page index

- NAME
- SYNOPSIS
- DESCRIPTION
- METHODS
  - new( module => $mod, path => $path, package => $pkg, [_id => DIGIT] )

Recently read

Tools

- Preferences