Entries from 2008-09-21 to 1 day

Taintモード時の汚染回避

Taintモードで実行する"-T"オプションをつけていると、以下のプログラムは動かない。 #!/usr/bin/perl -T use strict; use warnings; use Cwd; use SVN::Client; my $ctx = new SVN::Client; my $current_path = Cwd::getcwd; my $list = $ctx->ls($current_…

一行HTTPアクセス

$ perl -MLWP::Simple -e 'getprint "http://hoge/fuga.html"'なるほど、便利だ。