I am starting a perl workshop

Yes - I write my own scripts.
67% (2 votes)
Yes - I use free scripts I find on the web.
0% (0 votes)
No - I use something else (php, python, etc)
33% (1 vote)
Nope - don't use scripts at all - that's what the eggheads are for.
0% (0 votes)
Total votes: 3

---
get a free autoresponder at
http://autoresp.biondosmith.com
will code for food Wink

They have: 5 posts

Joined: Mar 2003

The perl workshop starts today, and the first topic is posted. We are running a free perl workshop which will take place over the next ten weeks at http://linux.biondosmith.com . Although free, registration is required - you need to use a valid email address. This will be an interactive online workshop - we will learn to install, read and modify freeware cgi-scripts, and using the skills this teaches us we will write our own. Emphasis will be on the reusability of code, and the course will complete a class project - we will write a form-mail program that executes some user-validation features.

Response to argument about PHP vs perl.

I like PHP, also. It really isn't difficult to switch from one to the other (many of the functions are nearly identical - the concepts are similar). I am doing a perl workshop first because of the ubiquity of free perl scripts. I will be doing a php workshop this summer Smiling

http://linux.biondosmith.com

---
get a free autoresponder at
http://autoresp.biondosmith.com
will code for food Wink

They have: 24 posts

Joined: Feb 2002

Quote: Originally posted by zollet
Wil,

...could do such template system with PHP as well. However, most users choose not to probably because of the mentioned reason.

Many large PHP projects do have HTML seperated from code in other classes, includes, templates, etc.

I noticed you were using myPHPNuke. If its like PHPNuke then you'll see that there isn't much HTML within the core files.

They have: 24 posts

Joined: Feb 2002

Thanks for the post. This reminds me of a 'Workshop' I had earlier, so I've decided to revive COSF (CGI Open Source F____). I'm still not sure what the 'F' will be.

More info here.

He has: 1,016 posts

Joined: May 2002

Wil,

I've coded Perl/CGI for many years before I went over to PHP for a couple of years ago. I agree with your point, but I would just like to add that you could do such template system with PHP as well. However, most users choose not to probably because of the mentioned reason.

They have: 601 posts

Joined: Nov 2001

I agree with the argument that PHP was designed for the web and has good use as web applications.

My only gripe is the fact that you mix HTML and code. With Perl I can use a templating system and keep HTML code completly sepearte from any Perl code which helps a great deal if you're working with developers and designers. But I guess if you're the developer and designer then PHP makes sense.

- wil

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

I think many people who are new to this choose PHP over Perl because PHP has an easier learning curve to it. I know I did. I knew what I wanted to do, but had a hard time finding out how to do it in Perl. And I found the PHP docs easier for me to navigate and search. Now, I'm not so intimidated (sp?) by Perl (and all those modules)... just to lazy to get back into it.

Mark Hensler
If there is no answer on Google, then there is no question.

He has: 1,016 posts

Joined: May 2002

Yes, Perl is a lot more powerful than PHP but as Mark mentioned, PHP was designed for the web and is much easier to work with. I know people that woukld never dream about writin a script in Perl are now making their own scripts with PHP.

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

I'm not convinced PHP is superior, but do know that it was designed specifically for the web. PERL has many additions that have been written for web use, but I can't help but feel that Perl has a higher overhead.

I would say that Perl is more powerfull, though. But I attribute that to it's background in unix. I beleive it was create to be similar to but more more powerfull than a shell script (or awk/sed script).

Mark Hensler
If there is no answer on Google, then there is no question.

He has: 1,758 posts

Joined: Jul 2002

dream on... ;o)

They have: 601 posts

Joined: Nov 2001

Because Perl is still superior? Sticking out tongue

He has: 1,016 posts

Joined: May 2002

PHP is A LOT more popular now, why don't you do write the scripts in PHP?

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.