Differences between Perl and PHP
- by lok
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?