Quote:
Originally posted by fuzebox
The real answer is, PHP was designed from the ground up to provide dynamic HTML, whereas anything CGI-related with Perl is and will always be a hack.
They both have their place, and I code with Perl daily, but I can't stand it for web (and adult entertainment using backend system tools is kind of dull, so thus the sig).
|
Comparing CGI Perl to mod_php is never fair. Compare mod_perl to mod_php and the playing field is more level. PHP was designed to *mix* HTML and code, which is an abomination. Programmers tend not to be good at design, and designers tend not to be good at programming, so ideally there is complete separation (which, of course, Perl provides quite well with such modules as HTML::Template)