为什么我无法下载模块?
大家好,我在下载模块时遇到问题。每当我尝试下载模块时,我都会收到一些奇怪的消息。它可能做错了什么,因为我以前没有做过,所以这是我的第一个模块。
运行后收到的错误消息
cpan WWW::Mechanize
是
cpan WWW::MechanizeError while requiring CPAN::MyConfig:Can't find string terminator "]" anywhere before EOF at /Users/fayimora/.cpan/CPAN/MyConfig.pm line 5.
Compilation failed in require at /System/Library/Perl/5.10.0/CPAN/HandleConfig.pm line 478.}
“请问我该如何解决此问题,以便我可以开始从 CPAN 下载和使用模块”。提前致谢
Hello guys am having a problem with downloading modules. Anytime i try to download a module , i get some weird messages. Its possible am doing something wrong because I haven't done it before, so its my first module.
The error message i get after running
cpan WWW::Mechanize
is
cpan WWW::MechanizeError while requiring CPAN::MyConfig:Can't find string terminator "]" anywhere before EOF at /Users/fayimora/.cpan/CPAN/MyConfig.pm line 5.
Compilation failed in require at /System/Library/Perl/5.10.0/CPAN/HandleConfig.pm line 478.}
Please how do i fix this so I can start downloading and using modules from CPAN. Thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的 CPAN 配置文件(位于
/Users/fayimora/.cpan/CPAN/MyConfig.pm
中)格式不正确。修复它或删除它。Your CPAN configuration file (in
/Users/fayimora/.cpan/CPAN/MyConfig.pm
) is malformed. Fix it or remove it.