Skip to content

Commit 0dfde78

Browse files
committed
podcheck.t: Any module we find is valid to link to
podcheck looks through the source distribution for pod. It skips internal checking of ones in /cpan (unless a command line option says to. If you do this, be prepared for finding gobs of problems in these!). But any such module found is fair game to be linked to by modules we do examine. It is a simple matter to add them to the list of known modules that can be linked to. Prior to this commit this was done surreptitiously by extending the Pod::Checker node() method. But a future commit will take this away.
1 parent a7fc95f commit 0dfde78

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

t/porting/podcheck.t

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1765,6 +1765,7 @@ sub is_pod_file {
17651765
$checker->name($name);
17661766
$id_to_checker{$name} = $checker
17671767
if $filename =~ m{^cpan/};
1768+
$valid_modules{$name} = 1;
17681769
}
17691770
}
17701771
elsif ($filename =~ m{^cpan/}) {

0 commit comments

Comments
 (0)