in reply to Compare Perl vs PHP
I am not familiar with PHP's performance statistics. But one big win PHP has over Perl is, it's easier for designers to deal with "A little bit of code stuck into my html" than it is for them to deal with finding the HTML embedded in a Perl script (especially one that uses the CGI module instead of big print blocks). This is the problem that HTML::Mason tries to solve. Overall HTML::Mason looks like all the benefits of PHP, except you get to work in Perl instead of PHP.
If you're trying to work closely with a designer, or trying to teach a non-programmer how to do a few easy scipting things, PHP is probably the answer. In the long run, it's definitely worth learning Perl, and solving designer interface issues with something like HTML::Mason.
|
|---|