CPAN
モジュールをインストールするためのツール
設定
perl -MCPAN -e shell
Enter連打。
設定を後で変えるにはCPANのプロンプトで下記のように入力する。
例えばこれはインストールする際に古いモジュールを消す設定。
o conf make_install_arg UNINST=1
モジュールのインストール
こんな感じで。
perl -MCPAN -e shell
install LWP install Net::SNMP
サーバの変更
o conf urllist pop o conf urllist push ftp://ftp.ring.gr.jp/pub/lang/perl/CPAN/ o conf commit