| Weblog: | Perl versus PHP 5 | |
| Subject: | Is it really a competition? | |
| Date: | 2004-08-19 08:09:12 | |
| From: | daniellindsley | |
|
I don't think Perl needs to do anything. PHP 5 is first getting features that Perl has had for years. Perl is far more robust and complete, with a much better license and more flexibility.
|
||
Showing messages 1 through 2 of 2.
-
Is it really a competition?
2004-08-19 20:55:58 elanthis [View]
-
Is it really a competition?
2004-08-19 13:03:15 vdubberly [View]
i don't think brian posed this as a competition, i think he is doing what alot of us should probably do more of. namely trying to imporove his community by looking at what has been effective for other communities. it's not "how can PERL be better than PHP", it's "how can PERL learn from PHP." what has made PHP so popular and is there something we can learn from in that?
| Showing messages 1 through 2 of 2. |



As I recall, Perl was originally a better sed. Being an actual programming kind of just happened.
Which, lo and behold, is precisely what is (sort of) happening with PHP.
The advantages of CLI PHP are rather numerous, for some people. I use it a lot for web site utilities as it can use the support "libraries" I've written for the web sites themselves. Another huge advantage is that if you already know PHP, it's much easier to write an app in PHP than it is in Perl. PHP also has much easier to use OO facilities than Perl, which is important to some people.
And really, trying to make Perl good for everything is just going to make it suck everywhere. Use the right tool for the job. PHP is great for dynamic web site content. Perl is best for other tasks. Which is fine. There's nothing wrong with knowing or using multiple languages.