What's the best way to learn perl for a python programmer?

Mirco Wahab peace.is.our.profession at gmx.de
Mon Mar 27 08:10:45 EST 2006


Hello vj

> I'll try and do as much as possible in pexpect but am sure I'll have do
> some significant perl. Any suggestions on what is the best way to get
> upto speed on perl?

Perl is (imho) much more complex and
somehow more powerful than Python
(if you can handle it) - it has more
development iterations behind it plus
a large contibuting community - and
their bear's den (CPAN) -- which
will probably save your project some-
times from debris falling around you.

BUT! There is no problem in using
a subset of Perl (called Baby-Perl)
that allows you translating your
Perl Scripts to Python by omitting $$
and { }, replace 'sub'  by 'def'
(plus some minor modifications).

There is a nice "comparison" on Python
and Perl available on the Web, which gave
me a good laugh for more than 30 seconds ;-))

http://www.adequacy.org/stories/2001.12.20.165434.32.html

(too bad - most responders didn't get the point of it)

Regards,

M.




More information about the Python-list mailing list