| 1 | 1 | ▶ | use Test::More; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 2 | 1 | ▶ | my @files = (glob("lib/*/*.pm")); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | 1 | my $n = @files; | |||||||||
| 4 | |||||||||||
| 5 | 1 | ▶ | eval 'use Test::Pod'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | 1 | ▶ | if ($@) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 7 | 0 | plan skip_all => "You don't have Test::Pod installed"; | |||||||||
| 8 | } else { | ||||||||||
| 9 | 1 | plan tests => $n; | |||||||||
| 10 | } | ||||||||||
| 11 | |||||||||||
| 12 | 1 | for my $file (@files) { | |||||||||
| 13 | 1 | pod_file_ok($file, "POD for '$file'"); | |||||||||
| 14 | } | ||||||||||