NAME
Module::Faker - build fake dists for testing CPAN tools
VERSION
version 0.004
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
COPYRIGHT AND AUTHOR
This distribution was written by Ricardo Signes, <rjbs@cpan.org>.
Copyright 2008. This is free software, released under the same terms as perl itself.