What's new in cpanm 1.6 and sneak preview for 1.7, presented at OSDC.TW 2013 in Taipei.

What's new in cpanm 1.6 and sneak preview for 1.7, presented at OSDC.TW 2013 in Taipei.
これまでサービスで使うCPANモジュールの管理と言えばrpm/debパッケージが主流だと思いますが、最近ではperlbrewで使いたいバージョンのperlをインストールすることもあり、rpm/debでは対応できなくなってきています。 perlbrewのperlに対してプロジェクトが依存しているCPANモジュールを入れる際、 $ perlbrew switch perl-5.12.3 $ cd /path/to/MyProj $ perl Makefile.PL $ cpanm --installdeps . などと cpanm —installdeps が使えます。 しかし、これではサーバを新規セットアップするたびに、最新のモジュールが入ることになりサーバ間でモジュールのバージョンの差異が生まれる可能性があります。 そこで対応策として考えられるのが開発サーバで—installdepsを実行
最近は local::lib を直接つかわないでもいきていけるという話 wget --no-check-certificate http://cpanmin.us/ perl cpanm -l extlib My::Favorite::Module ってやれば、extlib/ にモジュールをインストールしてくれる。cpanmin.us からとれる script は、コア以外にまったく依存してないので、すぐつかえる。 あとは以下のようにしたらライブラリパスがとおります。 perl -Mlib=extlib/lib/perl5 myscript.pl これで基本的には大丈夫だとおもいます。 コード内で表現する場合は以下のように FindBin を使いましょう。 use FindBin; use lib $FindBin::Bin.'/extlib/lib/perl5';
11/20に株式会社はてなさんでKansai Perl Mongers 第13回ミーティングが開催されました.例によって運用側だったのですが,やっぱりグダグダな感じで申し訳ないです.いつものことですか,ハイ,スミマセン.会場を貸していただいたはてなさん,発表/LTをしてくださった方々,会場に来ていただいた皆さんに感謝です! というわけで今回はPerl5環境構築という話をしてきました.perlbrew/cpanm/cpan-outdated/pm-uninstallなどのツールの使い方中心のトークです.根本的に話し尽くされているネタだし,いまとなってはあたりまえの内容ですがKansai.pmで話されたことがない上に,初心者向けトラックと言うことで改めて話をしてきました.まぁ結局のところ初心者向けトラックにも関わらず,初心者がほとんどいなかったんですが…… 資料一応アップしておきました Per
OrePAN - yet another DarkPAN manager https://github.com/tokuhirom/OrePAN This is yet another DarkPAN manager. It is highly depended for cpanm. I don't think about relationship for CPAN.pm. It only works with cpanm. Just type % orepan.pl --destination=/path/to/repository Foo-0.01.tar.gz Then Foo-0.01.tar.gz register to the repo, and it add to the 02packages.details.txt.gz. And... You can install Fo
bulknews.typepad.com Tatsuhiko Miyagawa's blog to discuss mostly tech and nerdy stuff. App-cpanminus 1.1000 by Tatsuhiko Miyagawa - CPAN - FriendFeed cpanm 1.1 is shipped, and with `--mirror-only` option, you can use it with your local minicpan mirror, or your own company's CPAN index (aka DarkPAN). The only reason for a few experienced perl programmers who loves cpanm but can't use cpanm offline
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く