One of the biggest (albeit certainly not the only) thing I prefer about Perl to PHP for web programming is the Template Toolkit. It may just be my lack of through knowledge of PHP, but I am not aware of anything that measures up to the Template Toolkit in PHP.
I am a University student, and have been working the past few months on a research project for one of the professors, writing an eCommerce application in PHP. The way in which I feel compelled to write the code makes me cringe. If the project weren't as developed as it is, or I was going to be involved for much longer, I would certainly campaign to redo it in Perl.
Afterthought: One other thing that has bugged me on this project: I haven't been able to figure out how to inform a PHP script what CGI variables were passed to it. After a bit of reading, I found that Perl's CGI module makes this as easy as @names = $cgi_obj->param.
In reply to Re: Perl vs. PHP
by DamnDirtyApe
in thread Perl vs. PHP
by jerrygarciuh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |