From: Henrik Tougaard (via RT) <perlbug@perl.org>
Message-id: <rt-15398-31095.6.
30466042998663@perl>
p4raw-id: //depot/perl@17691
and $opts{"-output"} == \*STDOUT )
{
## spit out the entire PODs. Might as well invoke perldoc
- my $progpath = File::Spec->catfile($Config{bin}, "perldoc");
+ my $progpath = File::Spec->catfile($Config{scriptdir}, "perldoc");
system($progpath, $opts{"-input"});
}
else {