Python vs. Perl, which is better to learn?

Chris chris at cmb-enterprises.com
Mon May 6 00:07:57 EDT 2002


In article <9UHz8.23$s55.5 at newsread2.prod.itd.earthlink.net>,
 "Billy Ng" <kwokng at earthlink.net> wrote:

> I am also new to python.  I think python will be my replacement of perl.
> However, if I need to do very heavy regular expression, I still prefer perl.
> I just don't feel comfortable with the python's re syntax.

You may also wish to consider Ruby, which is a purely OO language, and 
allows for Perl-ish regular expressions.  It's operator overloading also 
means you can place the RE on either side of the =~ operator, since both 
the String and Regexp classes implement =~.



More information about the Python-list mailing list