http://www.perlmonks.org?node_id=502054


in reply to "Perl is the Cobol of the WWW"

Hi fauria,

I've used both for developing websites, though I'm no expert at either.

I started with Perl in around 2001 and I'm still using it for web stuff. I explored recently with using PHP.

I find that my experience with PHP is rather like my experience with Perl at the beginning, when I tended to freely mix code and html. I only know PHP superficially, so maybe that's why I haven't found a more elegant way to separate the logic from the presentation.

For small sites (a couple of static pages with limited interactive features), I would go with PHP. PHP is rather like Javascript, so it makes adding logic to the html page much easier.

For a larger web project, Perl will still be my choice of programming language. I find that I'm more organised when coding in Perl. Besides, I'm familiar with using a number of very useful modules such as EncryptForm, DBI and HTML::Template, so it makes sense to tap on that knowledge.