File: pod.t

package info (click to toggle)
libstatistics-regression-perl 0.53%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 104 kB
  • sloc: perl: 357; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 268 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use strict;
use Test::More;

my @files = (glob("*.pm"));
my $n = @files;

eval 'use Test::Pod';
if ($@) {
    plan skip_all => "You don't have Test::Pod installed";
} else {
    plan tests => $n;
}

for my $file (@files) {
    pod_file_ok($file, "POD for '$file'");
}