This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Integrate:
authorNicholas Clark <nick@ccl4.org>
Mon, 27 Oct 2003 10:04:34 +0000 (10:04 +0000)
committerNicholas Clark <nick@ccl4.org>
Mon, 27 Oct 2003 10:04:34 +0000 (10:04 +0000)
[ 21544]
don't complain of podless .pm files that have a separate .pod file
p4raw-link: @21544 on //depot/perl: be6d62867c9b925b420185f49d5902db7ff9c880

p4raw-id: //depot/maint-5.8/perl@21547
p4raw-integrated: from //depot/perl@21541 'copy in' pod/buildtoc
(@21298..)

pod/buildtoc

index d66b712..4f9e684 100644 (file)
@@ -203,6 +203,8 @@ close MASTER;
       return if $file =~ m!lib/Math/BigInt/t/!;
       return if $file =~ m!/Devel/PPPort/[Hh]arness|lib/Devel/Harness!i;
       return if $file =~ m!XS/(?:APItest|Typemap)!;
+      my $pod = $file;
+      return if $pod =~ s/pm$/pod/ && -e $pod;
       die "$0: tut $File::Find::name" if $file =~ /TUT/;
       unless (open (F, "< $_\0")) {
        warn "$0: bogus <$file>: $!";