3 # Written by Jason Edgecombe based on the Test::Pod documentation. The
4 # best way to run it is to run:
8 # from the doc/man-pages directory, which will show any errors found in
9 # any of the POD files.
11 # Extended by Davor Ocelic to support explicit list of POD files or
14 # check-pod pod1/fs.pod
16 # check-pod pod1 pod8/volserver.pod
21 eval "use Test::Pod 1.00";
23 plan skip_all
=> "Test::Pod 1.00 required for testing POD" if $@
;
24 my @poddirs = qw( pod1 pod3 pod5 pod8 );
27 for ( @ARGV ?
@ARGV : @poddirs ) {
31 push @list, grep { !m
,fragments
/, } all_pod_files
( $_ )
35 all_pod_files_ok
( @list );