On Nov 30, 2007 9:18 AM, Jeff Pang <[EMAIL PROTECTED]> wrote: > both you and Paul mentioned that perl is maybe easier to learn than python. > but from many ppl's experience (including mine), python is easier to > get begin with. > > One of the advantages of python is that it can write code with good > style, everyone's code looks the same.but for perl's code style, oops > you can think of that... > > Many guys learned perl and were confused for perl's context concept. I > remembered a guy asked, > > @x = (1,2,3); > @y = (2,3,4); > $a = @x; > $b = @y; > > surely $a == $b, but why not @x == @y ? > > Some guys answered him. But he was not satisfied with all the answers, > finally he switched to python and threw up some dirty words on perl > (google it with the keyword of "perl是一种邪教"). > > ok I said some OP words here, it doesn't mean I like python more than > perl. In fact I have used perl for about 5 years, I like it than any > others.
I've been using Perl for only about 1.5 years, and never touched Python. About 16 months ago, I decided to learn a "scripting language" that I've heard mentioned so many times. I was debating between Perl and Python. I'm not quite sure why I chose Perl. I know that several open source projects allow Python plugins (Gimp, InkScape) but Perl can be used for CGI stuff. (If Python also does CGI, I never heard it.) So I chose Perl. Being that I was already familiar with C/C++, Perl was fairly simple to pick up. I read a couple of tutorials and pretty quickly was using perldoc as my main source of information. While Perl does have some quirky stuff, overall I found it easy to learn and very capable of doing a lot without a lot of coding effort. After being "part" of the mailing list for a bit, I learnt not to post without first checking perldoc/cpan, so that may as well be a factor for the mailing list's lack of activity.