Differences between Perl and PHP

Posted by lok on Stack Overflow See other posts from Stack Overflow or by lok
Published on 2010-03-28T22:03:55Z Indexed on 2010/03/28 22:13 UTC
Read the original article Hit count: 401

Filed under:
|
|

I'm planning to lern Perl 5 and as I have only used PHP until now, I wanted to know a bit about how the languages differ from each other.

As PHP started out as a set of "Perl hacks" it has obviously cloned some of Perls features.

  • What are the main differences in the syntax? Is it true that with Perl you have more options and ways to express something?

  • Why is Perl not used for dynamic websites very often anymore? What made PHP gain more popularity than it?

© Stack Overflow or respective owner

Related posts about perl

Related posts about php