为什么 perldoc 在这里失败了?
Why is perldoc failing here?
已下载 ActiveState Perl V5.22.3(尝试了 V5.24,结果相同)但我无法将 perldoc 获取到 运行! perldoc 响应 'Invalid parameter - -R'.
这是我的命令window:
我没有问题 运行宁脚本 - 只是 perldoc。
提前感谢您的任何建议。
perldoc 版本 3.27 中存在错误。请参阅 ActiveState 网站上的此帖子以获取解决方法。
https://community.activestate.com/node/20823
grahams ActiveState Staff
Wed, 2017-02-15 11:09
This is confirmed in 5.24.1 and 5.22.3.
It's happening in the section where perldoc hands off to the local equivalent of nroff. On Win32 and Win64, a bug is allowing perldoc to get into a block of code intended to fix a problem on Debian Linux (bugs.debian.org/758689). This block won't run on Windows, so the handoff to pod2text fails.
C:\> perldoc CGI
Invalid parameter - -R
Workaround 1: Bypass perldoc and go directly to pod2text. Give pod2text the full path to the pod file.
pod2text C:\Perl\libCGI.pod
Workaround 2: Bypass the pager in perldoc.
perldoc -T CGI
Workaround 3: Use the previous release of 5.22.2 which has an older perldoc.
已下载 ActiveState Perl V5.22.3(尝试了 V5.24,结果相同)但我无法将 perldoc 获取到 运行! perldoc 响应 'Invalid parameter - -R'.
这是我的命令window:
我没有问题 运行宁脚本 - 只是 perldoc。
提前感谢您的任何建议。
perldoc 版本 3.27 中存在错误。请参阅 ActiveState 网站上的此帖子以获取解决方法。
https://community.activestate.com/node/20823
grahams
ActiveState Staff
Wed, 2017-02-15 11:09This is confirmed in 5.24.1 and 5.22.3.
It's happening in the section where perldoc hands off to the local equivalent of nroff. On Win32 and Win64, a bug is allowing perldoc to get into a block of code intended to fix a problem on Debian Linux (bugs.debian.org/758689). This block won't run on Windows, so the handoff to pod2text fails.
C:\> perldoc CGI Invalid parameter - -R
Workaround 1: Bypass perldoc and go directly to pod2text. Give pod2text the full path to the pod file.
pod2text C:\Perl\libCGI.pod
Workaround 2: Bypass the pager in perldoc.
perldoc -T CGI
Workaround 3: Use the previous release of 5.22.2 which has an older perldoc.