Forum Moderators: coopster

Message Too Old, No Replies

PHP or Perl

PHP Perl, Which?

         

Macolex

9:06 am on Nov 16, 2004 (gmt 0)

10+ Year Member



Hello, I'm a Student and I want to learn a Language to Programming WEB.

PHP or Perl?

thanks!

Mohammed.Machal

uncle_bob

10:42 am on Nov 16, 2004 (gmt 0)

10+ Year Member



Given you posted the question in the php forum, I'd go with php for web programming.

Perl can do web pages fine, but wasn't originally designed for the web, whereas php was built specifically for websites. Personally I love using perl, just not for web pages.

pete_m

8:41 pm on Nov 16, 2004 (gmt 0)

10+ Year Member



PHP or Perl?

There's no easy answer to that really. My preference would be PHP - it seems to be the easier language to learn if you're new to programming.

kumarsena

9:04 pm on Nov 16, 2004 (gmt 0)

10+ Year Member



definetly PHP,easy to learn for beginners

mincklerstraat

8:52 am on Nov 17, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



<self-edit - bad answer>

bloke in a box

10:22 am on Nov 17, 2004 (gmt 0)

10+ Year Member



I would also suggest PHP - my personal opinion is that it's a lot easier to learn for a beginner and there are thousands of sites that offer excellent beginner tutorials.

Not sure if I'm allowed to post links?

coopster

11:45 am on Nov 17, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, Macolex.
Welcome to WebmasterWorld, bloke in a box.

Macolex,
Both languages have their strong suits and the question of one versus the other is never definitive. Both have a place in my toolbox, as they more than likely will in yours someday. Getting started in one versus the other? I tend to agree that PHP will be easier to pick up quickly and produce results, but then again, that is still a matter of opinion. I think your best bet is to dig in, give PHP a shot, see what you think. And of course, this forum is here when you need us.

Have a look at Learning PHP - Books, Tutorials and Online Resources [webmasterworld.com] in our PHP Forum Library [webmasterworld.com].

Certain links are allowed in the PHP Forum like php.net, mysql.com, etc., but please take the time to read the TOS [webmasterworld.com] before posting any links. Thank you.

bloke in a box

11:59 am on Nov 17, 2004 (gmt 0)

10+ Year Member



Many thanks coopster.

I have been lurking around the forums for a while and ensured I read the TOS before I registered but across some of the threads I've been reading there have been times when threads to non-generic sites (tutorials, code snippets etc) have been allowed when assisting someone and then other times they've been deleted.

I'm guessing it's up to the individual moderator to determine what consists of a 'p1mping' post rather than an 'assisting' post.

I think I will tend to err on the side of caution until I'm more up to date with this forums running. :)

Matt Probert

12:57 pm on Nov 17, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'll dissent and say Perl <g>

It really depends, however, on what you want to do. PHP appears to be more used for interfacing with SQL databases and mail interfaces - among the people I know, while I use Perl for its text extraction functionality. Perl does also have built-in functions for retireving remote web pages, and even building web crawlers.

Matt