在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
Can't locate Net/Telnet.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at e:\proj\php\san2\SOURCE~1\WEBSER~1\system\SNMPMG~1.PL line 3. Can't locate object method "new" via package "Net::Telnet" (perhaps you forgot to load "Net::Telnet"?) at e:\proj\php\san2\SOURCE~1\WEBSER~1\system\SNMPMG~1.PL line 12. 解决以上问题: 1.到search.cpan.org去下载一个Net::Telnet(http://search.cpan.org/CPAN/authors/id/J/JR/JROGERS/Net-Telnet-3.03.tar.gz),把解压后的telnet.pm放到C:\Perl\site\lib\Net\下。 2.然后再在命令行执行ppm install Net::Telnet 来安装.而不是单纯的拷贝. 如: C:\Documents and Settings\EVAN>ppm install Net::Telnet Installing package 'Net-Telnet'... Bytes transferred: 48478 Installing C:\Perl\html\site\lib\Net\Telnet.html Installing C:\Perl\site\lib\Net\Telnet.pm Writing C:\Perl\site\lib\auto\Net\Telnet\.packlist C:\Documents and Settings\EVAN> |
请发表评论