|
Hi,
the one and only answer is: it depends :p
perl is powerful indeed, much more powerful than php. I consider php beeing an ill language. Forgive me guys but php is a degenerated language. It's great to achieve some dynamics in web-stuff but to actually code sth that is worth it beeing called a (web)application it's way to hard to code in php without getting lost. Php is error prone and bloated. Yes u get it i don't like it really. Perl on the other hand is a mighty friend when it comes to some serious problems. Since perl5 it's becoming an OO language too. I never saw cleaner and shorter code than perl-stuff. Btw. perl-hacker can produce the ugliest and obfuscated code on earth as well *gg*.
My vote is: give perl a try if you want more than just developing some dynamic pages on the web, you will not regret it. Use php in the other case. Though perl and the cpan-cgi-package is a good alternative. But remember, unless mod_perl is installed perl will be a bit slower than php as the apache forks off a new process on every call to a script.
my two cents
__________________
-= C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do succeed, you will blow away your whole leg. =- Bjarne Stroustrup
|