"Ziggi" <on*******@hotmail.com> wrote in message
news:<bk**********@pegasus.csx.cam.ac.uk>...
I'm trying to learn how to implement CGI on my site, and would like
to know what are the advantages of using Perl over PHP, if any.
The only real advantage is your knowing Perl better than PHP. There
are very few things that can be done with Perl that can't be done
with PHP. Every once in a while, you come across a task for which
there is a readily available Perl script or module but no PHP. Perl
can be slightly faster (but not necessarily in your particular setup).
I have heard more than once that Perl has a steeper learning curve
than PHP (that is, learning Perl is more difficult, but after you
reach a certain level of proficiency, you become more productive).
In my opinion, these days, the choice of scripting language is largely
a matter of personal liking. Capabilities of various scripting
languages have converged quite a bit, and they will continue to do so.
Cheers,
NC