For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > May 2006 > PHP vs Perl









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author PHP vs Perl
Warren Thai

2006-05-26, 3:58 am

What are the pros and cons of PHP and Perl?
I want to learn one of them but am unsure of which to learn.
Any comments would be good.


nc@iname.com

2006-05-26, 6:58 pm

Warren Thai wrote:
>
> What are the pros and cons of PHP and Perl?


PHP is easier to learn for most people. Perl is a little more robust
and has a more evolved module system, which includes a large online
module depository called CPAN. PHP has a similar efforts underway
(PEAR and PECL), but they are not as broad yet.

> I want to learn one of them but am unsure of which to learn.


It depends on what you want to do with your knowledge. In some
circumstances, the answer can easily be "both".

Cheers,
NC

Jeff Paffett

2006-05-30, 3:58 am

Warren Thai wrote:
> What are the pros and cons of PHP and Perl?
> I want to learn one of them but am unsure of which to learn.
> Any comments would be good.
>
>

Perl is a very good general purpose language for acheiving all kinds of
tasks on a *nix machine. It is also extensively used for web scripting.
PHP is more specifically aimed at web scripting, although it can be used
for non web tasks if installed for it. If you want mainly to do web
development, I would recommend PHP. There's probably more work out there
for PHP coders!
fletch

2006-05-30, 6:59 pm

More jobs are advertised for PHP than Perl :)

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com