
October 31st, 2005, 01:49 PM
|
 |
Senior Glowing Wizard
|
|
Join Date: May 2005
Location: Sussex
|
|
Quote: | Originally Posted by icrf If you don't know Perl but do know PHP (there isn't much syntactic difference), then by all means, use PHP. If you don't know either but the site is already written in one, keep it there. I fully admit to being bias in favor of Perl, but it does get a bad name. You can write wonderfully maintainable code in one of the various frameworks, or write horribly obfuscated code that you'll swear you didn't write six months from now. Perl is incredibly flexible and expressive, one of the language's many mantras is "give the developer enough rope to hang themself"
Speed is a common misconception, Perl/CGI is no slower than PHP/CGI, and modperl is no slower than modphp (apache assumed). The problem stems from the fact that php is rarely run outside of modphp, but a healthy number of perl hosts still run it through CGI (any host worth snot wouldn't). The end difference is largely transparent, outside from the speed, and like most performance "concerns" you really have to have a high load for it to make any difference. | thanks, your comments help. I know PHP pretty well and never touched perl and the site is written in perl so...maybe i should take a look at some of the code. The other thing is i think it uses a lot of javascript which again i am new to!
|