NAME

Module::Faker - build fake dists for testing CPAN tools

VERSION

version 0.014

SYNOPSIS

Module::Faker->make_fakes({
  source => './dir-of-specs',
  dest   => './will-contain-tarballs',
});

DESCRIPTION

Module::Faker is a tool for building fake CPAN modules and, perhaps more importantly, fake CPAN distributions. These are useful for running tools that operate against CPAN distributions without having to use real CPAN distributions. This is much more useful when testing an entire CPAN instance, rather than a single distribution, for which see CPAN::Faker.

METHODS

make_fakes

Module::Faker->make_fakes(\%arg);

This method creates a new Module::Faker and builds archives in its destination directory for every dist-describing file in its source directory. See the "new" method below.

new

my $faker = Module::Faker->new(\%arg);

This create the new Module::Faker. All arguments may be accessed later by methods of the same name. Valid arguments are:

source - the directory in which to find source files
dest   - the directory in which to construct dist archives

dist_class - the class used to fake dists; default: Module::Faker::Dist

AUTHOR

Ricardo Signes <rjbs@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2008 by Ricardo Signes.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.