2008-04-22 文字列中の式展開 Perl $ perl sub hoge { "hogehoge"; } print "i am @{[ hoge() ]}.\n"; こうやると i am hogehoge.こうなる。でも、Rubyの方がちょっとスマートか。