Mail from ILUG-BOM list (Non-Digest Mode)
Sometime Today, Trevor Warren assembled some asciibets to say:
> I am just on to learning perl & find it absolutely nifty & powerful.
Welcome to the hood boy. You'll find perl a very enjoyable experience
(python hackers notwithstanding).
> apart from making use of perl for automating System admin tasks, small
> scripting apps, CGI/perl .... Where would we see perl at its best.
> What kinda apps would it be suitable for deploying & in what kinda
You can do anything in perl - short of writing an Operating System that
is. It also doesn't do pointers, so you'll have to go to C for that, but
anything else you wanna do can be done in perl. I do almost all my coding
in perl these days (except when I need to build a compiled binary that a
client can just plug and run (then I use C). (The perl bytecc makes big
binaries because it has to include a large part of the interpreter in
there.)).
> Just last month parag let me know that Mailman(our mail server) has
> been coded totally in Python. And just yesterday someone said that
> Zope is been written in it too. Now all of us know that python is far
Yeah, lots of apps written in Python - and it's really fast too.
Comparable to a compiled language. Perl is pretty quick too, but really
depends on the app. I'd frankly write my tightest loops in C and call
them from my perl/python progs.
> more OO than compared to its counterpart perl. How would python stand
> up to perl & for what kinda tasks would it be really suitable for.
Perl isn't really an OO language. It's more of a structured language with
an OO interface thrown in on top to make C++ programmers comfortable with
it. Most old time perl hackers prefer the standard interface while mixing
in the OO interface for certain modules. I prefer mixing the two -
always. Makes my code harder to read. I also never comment. I comment
during the devp stage mainly with notes to myself, and then delete all
comments once the program is ready. Perl programs can be understood by
reading the code, but then python is probably better at that.
Philip
--
Ray's Rule of Precision:
Measure with a micrometer. Mark with chalk. Cut with an axe.
_______________________________________________
Linuxers mailing list
[EMAIL PROTECTED]
http://www.ilug-bom.org.in/mailman/listinfo/linuxers