in reply to Another prediction of Perl's demise

mod_perl isn't available on many servers, and without that, PHP outperforms Perl. It's also easier to embed a few lines of PHP inside your page than it is to wrap your page around the equivalent in Perl code, leaving Perl the winner only in situations where (a) you have root on the server or (b) you're doing some algorithms-heavy programming where Perl's power and coding efficiency makes it the better choice.

Basically, PHP is designed to be easy. Perl is designed for coding efficiency. Most people are going to prefer the former if they have to choose between the two.

Learning both is best.

  • Comment on Re: Another prediction of Perl's demise

Replies are listed 'Best First'.
Re^2: Another prediction of Perl's demise
by Juerd (Abbot) on Nov 25, 2004 at 17:03 UTC

    Basically, PHP is designed to be easy.

    Wow, really? I'd never have guessed that. No, really, I think programming in PHP is hard. Scripting web sites, OTOH, can be done easily, as long as all you need is just a little more than templating.

    Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }