Subject: | basepods are in 'pods' in modern perls |
in newer perls basepods are in the pods directory, not pod. Here is a fix
#!/usr/bin/env perl
# basepods - print out the standard perl*.pod manpages pod paths
use Config;
$lib = "$Config{'installprivlib'}/pods";
$lib = "$Config{'installprivlib'}/pod" unless -d $lib;
opendir(LIB, $lib) || die "$0: can't opendir $lib: $!\n";
while ($_ = readdir(LIB)) {
print "$lib/$_\n" if /\.pod$/;
}
__END__