Xymph's Overture

#!/usr/bin/perl
print "Hello, world!\n";
No, that wasn't my first Perl script. I've actually written somewhat longer scripts, and modified other people's scripts regularly, but I don't have a sufficient understanding of the language to write longer scripts from scratch yet. So by way of a belated New Year's resolution, I recently picked up Programming Perl (a.k.a. the Camel book) to learn it from the ground up. There are perhaps better books to learn the language from, but since I'm already somewhat familiar with Perl (and have plenty of experience in other languages like C, Ada and Shell), I figure I'll be fine, and having the definitive reference on the language around is more useful in the long run anyway. My goal for embarking on this endeavour is to eventually add some new database-driven features to this site (which means dusting off my old SQL knowledge as well), and while it may take a while before you'll see the first results, it is a fun learning experience already.

Link of the Day: Welcome to the White House - WWW.WHITEHOUSE.ORG. Not to be confused with... exactly. Thanks SurlyBitch.
Story of the Day: Pet lizards feast on owner's corpse. Not for overly sensitive stomachs. Thanks rand029 and the many others that sent this in.
Wild Science: Future Tech: Really Special Forces. Thanks JTMauney.
Weird Science: Goat Milk Carries Spider Silk in Canada Experiment. Thanks Nicole.

View : : :
17.
 
Re: Noooooooo.....
Jan 18, 2002, 12:56
17.
Re: Noooooooo..... Jan 18, 2002, 12:56
Jan 18, 2002, 12:56
 
Let's take these one at a time.

Perl is not a scripting language. It's a programming language. Yes, with the right modules, you probably could code Quake in it. You'd be mad to try, but you probably could. People have written compilers with it.

Perl is not called PERL (it's not an acronym, and don't try and argue that it means Practical Extraction and Reporting Langauge, it doesn't, Larry Wall came up with that after the language was named).

Perl is much better than PHP. PHP is much slower, collapses under less pressure, and if you want a good example - visit Slashdot. Runs Perl (and they wouldn't switch to PHP even if they were starting from scratch). NASA use it. Amazon use it. The US military use it.

Perl is easy to learn. It's more flexible than PHP (you'll always find some nutter who wanted to do the same thing as you and has written a module :)).

Python, Ruby et al - no comment. Don't know them. I hear good things about both.

In tests, Perl is one of the fastest programming langauges out there (I can't remember the URL of the page, but some guy wrote the same program in about 50 different languages and Perl was really high up while PHP was really low down). With mod_perl, depending on the application, you can get pretty close to C speeds with it (although C will always be fastest).

Further information - http://www.perl.com/pub/a/2000/01/10PerlMyths.html.

- Bagpuss
http://www.chatbear.com/
Get your own free messageboard today (just like this one!)
Date
Subject
Author
1.
Jan 18, 2002Jan 18 2002
anon@64.228
2.
Jan 18, 2002Jan 18 2002
3.
Jan 18, 2002Jan 18 2002
 C++
anon@209.26
 17.
Jan 18, 2002Jan 18 2002
 Re: Noooooooo.....
20.
Jan 18, 2002Jan 18 2002
anon@24.50
25.
Jan 18, 2002Jan 18 2002
29.
Jan 18, 2002Jan 18 2002
anon@24.50
4.
Jan 18, 2002Jan 18 2002
anon@66.56
5.
Jan 18, 2002Jan 18 2002
6.
Jan 18, 2002Jan 18 2002
anon@165.122
7.
Jan 18, 2002Jan 18 2002
anon@193.237
9.
Jan 18, 2002Jan 18 2002
anon@194.70
13.
Jan 18, 2002Jan 18 2002
anon@206.225
8.
Jan 18, 2002Jan 18 2002
  PHP
10.
Jan 18, 2002Jan 18 2002
   Re: PHP
12.
Jan 18, 2002Jan 18 2002
   Re: PHP
anon@62.254
14.
Jan 18, 2002Jan 18 2002
    Re: PHP
anon@208.191
11.
Jan 18, 2002Jan 18 2002
15.
Jan 18, 2002Jan 18 2002
anon@128.32
16.
Jan 18, 2002Jan 18 2002
18.
Jan 18, 2002Jan 18 2002
19.
Jan 18, 2002Jan 18 2002
anon@62.188
27.
Jan 18, 2002Jan 18 2002
anon@67.82
28.
Jan 18, 2002Jan 18 2002
anon@67.82
36.
Jan 20, 2002Jan 20 2002
anon@24.243
37.
Jan 21, 2002Jan 21 2002
anon@24.151
38.
Jan 21, 2002Jan 21 2002
21.
Jan 18, 2002Jan 18 2002
anon@128.32
22.
Jan 18, 2002Jan 18 2002
anon@128.32
23.
Jan 18, 2002Jan 18 2002
anon@207.50
24.
Jan 18, 2002Jan 18 2002
anon@12.228
26.
Jan 18, 2002Jan 18 2002
anon@128.32
35.
Jan 19, 2002Jan 19 2002
anon@24.151
30.
Jan 19, 2002Jan 19 2002
anon@65.80
31.
Jan 19, 2002Jan 19 2002
anon@24.162
32.
Jan 19, 2002Jan 19 2002
anon@65.80
33.
Jan 19, 2002Jan 19 2002
34.
Jan 19, 2002Jan 19 2002