One minor note: for what you're doing, I wouldn't bother with mod_perl or FastCGI. You're either going to be invoking external processes for most of the work, or your processing is going to swamp the initialization. So they gain you (almost) nothing; CGI scripts are much more straightforward for what you're doing. (And in exchange for that almost nothing, you'll have to deal with weird state preservation issues that you're probably not accustomed to, coming from a command-line background.)
<br><br>