Gentoo に CPAN 管理用のパッケージ g-cpan をインストールする
参考
g-cpan とは
g-cpan is a tool that generates and installs perl modules and bundles from CPAN "on-the-fly".
http://www.gentoo.org/proj/en/perl/g-cpan.xml#doc_chap1
When you run g-cpan, it will check for two configuration files. If you are root, it will check for the presense of an already configured CPAN under your perl install path. If CPAN is not configured, or you are not root, g-cpan will create a generic configuration for CPAN in ~/.cpan/CPAN/ called MyConfig.pm. You can modify this file as needed at any time.
http://www.gentoo.org/proj/en/perl/g-cpan.xml#doc_chap3
g-cpan をインストールする
% sudo esearch g-cpan [ Results for search key : g-cpan ] [ Applications found : 1 ] * app-portage/g-cpan Latest version available: 0.15.0-r1 Latest version installed: [ Not Installed ] Size of downloaded files: 29 kB Homepage: http://www.gentoo.org/proj/en/perl/g-cpan.xml Description: g-cpan: generate and install CPAN modules using portage License: || ( Artistic GPL-2 ) LI57-49 /home/naotaka% sudo emerge -pv g-cpan These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] dev-perl/yaml-0.68 91 kB [ebuild N ] dev-perl/Log-Agent-0.307 54 kB [ebuild N ] dev-perl/Class-MethodMaker-2.12 87 kB [ebuild N ] dev-perl/Shell-EnvImporter-1.04 15 kB [ebuild N ] app-portage/g-cpan-0.15.0-r1 30 kB Total: 5 packages (5 new), Size of downloads: 276 kB % sudo emerge g-cpan