2008-06-09 配列を出力する方法 perl #!/usr/bin/perl; use strict; use warnings; my @name = qw/perl php ruby/; foreach (@name){ print $_; } 以前はfor文で処理を書いたけどそういう書き方のあるということで覚えておこう。