Comment detail

コマンドライン引数の取得 (Nested Flatten)

This comment is reply for 5003 匿名: Perl の場合@ARGVに入っています...(コマンドライン引数の取得). Go to thread root.

既出よりもう少し丁寧なの
1
2
3
foreach my $arg (@ARGV){
    print "$arg\n";
}
既出よりもう少し丁寧なの
(間違えてOtherに挙げてしまいました、あちらは削除して下さい)
1
2
3
foreach my $arg (@ARGV){
    print "$arg\n";
}

Index

Feed

Other

Link

Pathtraq

loading...