とあるモンテカルロ計算のプログラムを、多重パラメータで入力ファイルを作って死ぬほどまわしまくるという kicker を perl で書く。
う〜ん、はじめはねぇ sh script + template + sed でやろうと思ってたんだが sh script の中で実数計算するのが面倒で……。
しかし、あれだな。こういう code とベタ文が混在してる仕事には確かに perl の方が楽だが、そのベタ文の方を template 化して分離しておけないと、後で地の方を編集するのが限りなく難しいではないか。
[referer:
The script did not produce proper HTTP headers. Please see the error log to see the detail of the errors. Depending on the server configuration, you can also run thisscript under CGIWrap debugging. Usually, either rename or linkthe script temporarily to a file which ends with .cgidextension, or add a AddHandler cgi-script-debug .cgiline to your .htaccess file.
]