Thanks to Steffen Schwigon for both of these changes.
It falls back to doing a find for *.pm if no MANIFEST exists. (thanks to Paul Hughes aka Barbie and Steffen Müller for suggesting this)
thanks to patch from Jonas B.Nielsen
It only requires each package defined a version. The version does not need to be the same as the distribution version. It just needs to exist This caters for the quite valid style of using cvs versions in individual files. Perl does not requrie all files in a dist to have the same $VERSION. However if you think that checking against the dist version would be a useful check for your personal style, let me know and i'll add that check back in as an optional switch. (thanks to Paul Hughes aka Barbie for the spot)
Stop gap measure till Test::Prereq has been patched. (thanks to Paul Hughes aka Barbie)
Thanks to Paul Hughes aka Barbie
This is good because it means module authors who do not want to force their users to install Test::Distribution and all of its dependencies do not have to
However this does not mean Module::Build support. You still need a Makefile.PL to prevent the PREREQ_PM tests failing. Module::Build support will hopefully follow in a future version.
-
added a named argument 'not' to ask not to do certain types of tests
added test type 'prereq' that checks whether all non-provided non-core use()d files are in Makefile.PL's PREREQ_PM
added test type 'description' that checks whether Changes, README, MANIFEST and Makefile.PL exist
added checking for required modules with eval{} so we can skip tests if necessary (thanks petdance)
changed munging of file and directory names from regexes to use File::Spec, to be portable
32 POD Errors
The following errors were encountered while parsing the POD:
=over should be: '=over' or '=over positive_number'
Non-ASCII character seen before =encoding in 'Müller'. Assuming CP1252
You can't have =items (as at line 285) unless the first thing after the =over is an =item
To install Test::Distribution, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Distribution
CPAN shell
perl -MCPAN -e shell install Test::Distribution
For more information on module installation, please visit the detailed CPAN module installation guide.