「のーぶるじゃすぱー(noblejasper)」略して「のぶじゃす(nobjas)」のメインBLOGです。 技術系の話が多いです。 MovableType + 自宅鯖で運用しています。 自宅鯖の調子が悪くて止まる事もあります。。。悪しからず。 今、さくらインターネットとかで動くWAFを作り中なのですが、 その途中でCPANモジュールを使いたくて、local::libを使ってCPANモジュールを使う方法を勉強しました。 とりあえずこのスクリプトを適当な名前で保存します。 んで、インストールしたい場所をextlibから変更すればOKです。 それでこのスクリプトを./local_lib_install.plみたいな感じで叩くと CPANシェルが起動します。 それでインストールすればそこのディレクトリに依存モジュール共々インストールされます。 そして使うperlスクリプトで use lo