2006年02月08日
ファイルテスト演算子(w)
- ikepon
- 2006年02月08日
- コメントする
- トラックバック (17)
- カテゴリー:Perl
ファイルテスト演算子wに関して説明します。
次のファイルをsample154.plという名前で保存します。
if (-w "text154.txt") {
print "書き込み可能です。\n";
} else {
print "書き込み可能ではありません。\n";
}
実行結果は、次の様になります。
> perl sample154.pl 書き込み可能ではありません。 > echo test > text154.txt > perl sample154.pl 書き込み可能です。
Trackback on "ファイルテスト演算子(w)"
以下17件のトラックバックはこのページのエントリー"ファイルテスト演算子(w)"を参照しています。
このエントリーのトラックバックURL:
» free online sex games
- 2006年11月28日 08:12
- from free online sex games
» adults only rated play station games
- 2006年12月03日 00:00
- from adults only rated play station games
» nude britney spears
- 2006年12月12日 03:22
- from nude britney spears
» nude britney spears
- 2006年12月12日 03:22
- from nude britney spears
» nude britney spears
- 2006年12月12日 03:22
- from nude britney spears
» a0f9de9b38406c00e2a6
- 2007年02月24日 20:52
- from a0f9de9b38406c00e2a6c6b01329612f
a0f9de9b38406c00e2a6c6b01329612fa0f9de9b384... [続きを読む]
"ファイルテスト演算子(w)"へのコメントはまだありません。