apache的错误日志:
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>
09-21 04:41