$ cpan
cpan > install YAML.pm
cpan > install Tee.pm
cpan > install IO/Tee.pm
Default installed directory:
~/perl5/lib/perl5
Will update $PERL5LIB in .bashrc
本地安装:
download *.pm in http://search.cpan.org
$ perl Makefile.PL
$ make
$make test
$ make install