| Module-New documentation | Contained in the Module-New distribution. |
Module::New::File::PodTest
a template for a Test::Pod test.
Kenichi Ishigaki, <ishigaki at cpan.org>
Copyright (C) 2007-2009 by Kenichi Ishigaki.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| Module-New documentation | Contained in the Module-New distribution. |
package Module::New::File::PodTest; use strict; use warnings; use Module::New::File; file 't/99_pod.t' => content { return <<'EOT'; use strict; use warnings; use Test::More; eval "use Test::Pod 1.18"; plan skip_all => 'Test::Pod 1.18 required' if $@; plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD}; all_pod_files_ok(); EOT }; 1; __END__