Sorry, I know this is closed but it seemed to be related to what I'm
seeing. Due to my (perhaps unorthodox) permission settings, I'm getting
"No Perldoc found" due to:
config/auto/perldoc.pm
trying:
sub runstep {
my ( $self, $conf ) = @_;
my $cmd = $conf->data->get_p5('scriptdirexp') . q{/perldoc};
my $tmpfile = q{c99da7c4.tmp};
my $content = capture_output("$cmd -ud $tmpfile perldoc") || undef;
What is attempted is:
/usr/bin/perldoc -ud c99da7c4.tmp perldoc
w/ the result:
Can't write-open c99da7c4.tmp: Permission denied at
/usr/lib/perl5/5.8.3/Pod/Perldoc.pm line 1422
Appears perldoc runs an suid and so it can't write that file name in the
current dir. Making it
my $tmpfile = q{/tmp/c99da7c4.tmp};
my $content = capture_output("$cmd -ud $tmpfile perldoc") || undef;
then makes it work. But isn't there a mktemp file that's a better route?
a
-------------------
Andy Bach
Systems Mangler
Internet: [EMAIL PROTECTED]
Voice: (608) 261-5738 Fax: 264-5932
"When angry, count to four; when very angry, swear."
Mark Twain