X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fbuildtoc.PL;h=acb45d610dff9a6a4ef2705c687725549f9eb025;hb=6ef2ffc08af34476e9926ec68d86cf931bd70156;hp=44a547025cbe2917be97008185de544a912f38c6;hpb=469e7be44a6194e0167a0368f8e936d16eb054f1;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/buildtoc.PL b/pod/buildtoc.PL index 44a5470..acb45d6 100644 --- a/pod/buildtoc.PL +++ b/pod/buildtoc.PL @@ -304,12 +304,13 @@ find \&getpods => qw(../lib ../ext); sub getpods { if (/\.p(od|m)$/) { my $file = $File::Find::name; - return if $file eq '../lib/Pod/Functions.pm'; # Used only by pod itself + return if $file eq '../lib/Pod/Functions.pm'; # Used only by pod itself return if $file =~ m!lib/Attribute/Handlers/demo/!; - return if $file =~ m!lib/Net/FTP/.+\.pm!; # Hi, Graham! :-) + return if $file =~ m!lib/Net/FTP/.+\.pm!; # Hi, Graham! :-) return if $file =~ m!lib/Math/BigInt/t/!; - return if $file =~ m!/Devel/PPPort/[Hh]arness|lib/Devel/Harness!i; - die "tut $name" if $file =~ /TUT/; + return if $file =~ m!/Devel/PPPort/[Hh]arness|lib/Devel/Harness!i; + return if $file =~ m!XS/(?:APItest|Typemap)!; + die "tut $name" if $file =~ /TUT/; unless (open (F, "< $_\0")) { warn "bogus <$file>: $!"; system "ls", "-l", $file;