2006年02月08日
ファイルテスト演算子(f)
- ikepon
- 2006年02月08日
- コメントする
- トラックバック (4)
- カテゴリー:Perl
ファイルテスト演算子fに関して説明します。
次のファイルをsample149.plという名前で保存します。
if (-f "text149.txt") {
print "存在します。\n";
} else {
print "存在しません。\n";
}
実行結果は、次の様になります。
> perl sample149.pl 存在しません。 > echo test > text149.txt > perl sample149.pl 存在します。
Trackback on "ファイルテスト演算子(f)"
以下4件のトラックバックはこのページのエントリー"ファイルテスト演算子(f)"を参照しています。
このエントリーのトラックバックURL:
» Buy xanax online.
- 2007年05月22日 18:27
- from Search results buy xanax online.
Generic xanax online without a prescription. Buy xanax online. Xanax online with... [続きを読む]
» Buy xanax online.
- 2007年05月22日 18:27
- from Search results buy xanax online.
Generic xanax online without a prescription. Buy xanax online. Xanax online with... [続きを読む]
» Buy xanax online.
- 2007年05月22日 18:27
- from Search results buy xanax online.
Generic xanax online without a prescription. Buy xanax online. Xanax online with... [続きを読む]
» Buy xanax online.
- 2007年05月22日 18:28
- from Search results buy xanax online.
Generic xanax online without a prescription. Buy xanax online. Xanax online with... [続きを読む]
"ファイルテスト演算子(f)"へのコメントはまだありません。