Apache-Perldoc
view release on metacpan or search on metacpan
lib/Apache/Perldoc.pm view on Meta::CPAN
if ( $perldoc && $pod2html ) {
# We want to run tainted
$ENV{PATH} = "/bin";
} else {
$perldoc ||= "perldoc";
$pod2html ||= "pod2html";
}
# Get the path name and throw away errors on stderr
my $filename = qx( $perldoc -l $pod 2> /dev/null );
if ($?) {
print
"No such perldoc. Either you don't have that module installed, or the author neglected to provide documentation.";
} else {
chdir $tmp;
print qx( $perldoc -u $pod | $pod2html --htmlroot=/perldoc --header );
}
}
( run in 0.443 second using v1.01-cache-2.11-cpan-26ccb49234f )