Skip Menu |

This queue is for tickets about the Pod-Perldoc CPAN distribution.

Report information
The Basics
Id: 9531
Status: resolved
Priority: 0/
Queue: Pod-Perldoc

People
Owner: Nobody in particular
Requestors: RandyS [...] ThePierianSpring.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 3.14
Fixed in: (no value)



Subject: perldoc can't find scripts on Windows
perldoc can't find scripts pod2man, etc on MSWin32 because they have a '.bat' extension. For example, I have 'PERLDOC=-n groff', and when I run `perldoc perl` I get: Error while formatting with Pod::Perldoc::ToMan: Can't find a pod2man?! (pod2man) Aborting at X:\home\Administrator\projects\working\Pod-Perldoc-3.14\lib/Pod/Perl doc/Toman.pm line 59. setting: $pod2man .= '.bat' if Pod::Perldoc::IS_MSWin32; fixes it. I don't know if this is the right fix. I usually would try first for $pod2man, then for "$pod2man.bat" on MSWin32. I think it's '.cmd' on OS2, and '.com' on VMS? Also there may be other occurences; I haven't looked. Thanks