Quantcast
Channel: perl - i2bsの日記
Browsing latest articles
Browse All 2 View Live

CPANメモ

CPANの使い方のメモ初期設定そのまま自動設定perl -MCPAN -e shell ... Would you like me to configure as much as possible automatically? [yes]初期化cpan[x]> o conf init設定変更,確認# if the list is parameter [pop|push] value...

View Article



perlで配列の差分抽出

Perlでディレクトリ構成とファイルの差分をチェックするスクリプトを作っていてネットで見つけたけど、ハッシュの使い方がとても参考になった。以下参考にして書いたコードの一部抜粋。表面ばかり勉強していて、もっと根本的なとこを勉強しなきゃって思う。use Text::Diff 'diff'; # list_filesは引数に与えたディレクトリ配下のファイルを配列で返すサブルーチンmy@old =...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images