|XP is just a number
Re: How do you feel about mod_perl?by edebill (Scribe)
|on Nov 06, 2001 at 00:04 UTC
mod_perl is it's own platform. It has some backwards compatibility code for CGI's, but it is much more than just a CGI framework. It's architecture and basic assumptions are quite a bit different from CGI's - in fact non-trivial CGI applications tend to break if you run them under mod_perl (lifespans of variables are quite different).
Likewise, mod_perl lets you do a lot of things that you just can't do under CGI. Cached database connections being the first to come to mind.
And if you really want something revolutionary, combine mod_perl with HTML::Embperl. Gets rid of all those nasty print()'s and gives a better separation of logic from presentation.