On Sep 19, 2013, at 1:36 PM, Nicholas Clark <n...@ccl4.org> wrote: > So, my question is, surely that file should be installed as > "utils/perldoc.COM" not "utils/perldoc"?
Yes. > And if so, where in ExtUtils::MakeMaker does it need fixing? Good question. ExtUtils::MakeMaker::MM_Unix::installbin says: =item installbin (o) Defines targets to make and to install EXE_FILES. but I think it's lying. It doesn't seem to "make" anything at all but mostly copies files into place after fiddling with the shebang line. I think there is also some special handling if it finds POD in the file. I suppose the file copy line in there should append .com if it's not already present. > (Does anyone on VMS actually install modules from CPAN that have scripts?) Probably rarely. And installing it wouldn't let you run it automatically anyway unless you happen to put perl_root:[utils] into DCL$PATH. The reason you had it still looking for perldoc.com even after you deleted that file is because there is a foreign command for perldoc defined in perl_setup.com (more or less like an alias as John said). ________________________________________ Craig A. Berry mailto:craigbe...@mac.com "... getting out of a sonnet is much more difficult than getting in." Brad Leithauser