C:\sample\ss>perl dd_tsys.pl
Can't locate IO/prompt.pm in @INC (@INC contains: C:/strawberry/perl/lib C:/stra
wberry/perl/site/lib C:\strawberry\perl\vendor\lib .) at dd_tsys.pl line 8.
BEGIN failed--compilation aborted at dd_tsys.pl line 8.
我安装了io :: pack,但是当我尝试使用IO ::提示时,它说上面的错误,
以下是我遵循的安装步骤check it out。
答案 0 :(得分:6)
Perl区分大小写;该模块为IO::Prompt。
此外,您的构建日志显示:
Test Summary Report
-------------------
t\01.dependencies.t (Wstat: 512 Tests: 2 Failed: 2)
Failed tests: 1-2
Non-zero exit status: 2
Files=4, Tests=3, 1 wallclock secs ( 0.06 usr + 0.03 sys = 0.09 CPU)
Result: FAIL
Failed 1/4 test programs. 2/3 subtests failed.
DCONWAY/IO-Prompt-0.997001.tar.gz
C:\strawberry\perl\bin\perl.exe ./Build test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports DCONWAY/IO-Prompt-0.997001.tar.gz
Running Build install
make test had returned bad status, won't install without force
Failed during this command:
DCONWAY/IO-Prompt-0.997001.tar.gz : make_test NO
所以,没有安装模块,这是其中没有找到的原因。