这是本文档旧的修订版!
在linux命令符下键入
cpan你将会看到
/usr/lib/perl5/5.8.8/CPAN/Config.pm initialized. CPAN is the world-wide archive of perl resources. It consists of about 100 sites that all replicate the same contents all around the globe. Many countries have at least one CPAN site already. The resources found on CPAN are easily accessible with the CPAN.pm module. If you want to use CPAN.pm, you have to configure it properly. If you do not want to enter a dialog now, you can answer 'no' to this question and I'll try to autoconfigure. (Note: you can revisit this dialog anytime later by typing 'o conf init' at the cpan prompt.) Are you ready for manual configuration? [yes]
完成基本的cpan配置后,您可以使用install安装perl模块
install MIME::Lite install Net::SSLeay install IO::Socket::SSL install Authen::SASL install Devel::CheckLib install Email::Date::Format install Config::IniFiles install MIME::Lite install MIME::Base64 install Net::SMTP install Net::SMTP::SSL install Authen::SASL install Authen::SASL::XS install Encode install Data::Dumper