print <<EOM;〜EOMの中にperlの式を書く
![print <<EOM;〜EOMの中にperlの式を書く](https://perl.no-tubo.net/wp-content/uploads/2010/11/clicktx_tech_memo-890x500.jpg)
print <<EOM; あいうえお かきくけこ EOM
こんなのをヒアドキュメントという(らしい)
この中にperlの式を埋め込むテクニック。
リンク先より引用
print <<EOM; TIME: @{[ time() ]} EOM 実行結果 TIME: 1229258525
面白い。
-
前の記事
Apache2.2にmod_SpeedyCGIを組込むにはパッチが必要 2011.02.07
-
次の記事
CentOS5.5にmod_fcgidをインストールする(Apache2.2+FastCGI) 2011.02.16