I am an avid Perl user. I use if for everything including CGI. Lately, a large number of my friends have been converting from Perl CGI to php. I just wanted to know what your thoughts are on the benefits of using Perl vs. PHP? If you have converted and why? I'm especially interested if you have used PHP and went back to Perl.

Good Hunting,
kha0z

Replies are listed 'Best First'.
Re: Perl CGI vs. PHP
by myocom (Deacon) on May 19, 2001 at 01:02 UTC

    This has been discussed roughly maxint times here before (like here, for example). Put 'PHP' in the search box up there and see what that gets you.

      But for good measure, one more time can't hurt(can it?). Why is Perl better? Quite simply because you can do SO much more with it. PHP was made to handle some of the tasks CGI could do, but without the overhead of making a process on the server. However, Perl allows for much more flexibility and power in design; also, if programmed efficiently, the overhead is minimum. Not to mention that certain features(mod_perl,fast cgi, for instance) make that overhead dissapear.