in reply to Perl or Python?

To be a bit cranky, what do you mean by "fairs [sic] better?". Fewer bugs after release? Better adherence to schedule? If that's the case, the choice of language is less important than the managerial issues of a project: good specifications, and an efficient system to manage the inevitable changes, regular progress reviews, attentive and knowledgable managers, etc.

If this is for a small project (less than a few thousand sloc), pick the one you like better (if there are multiple participants, vote on it). For a larger project? Just pick one by managerial fiat. While I like Perl better than Python (I'm on Perl Monks), and I think Perl has more available libraries (see CPAN) than Python, I don't think that either (or any) language is The One True Language™; if you like Perl better, pick Perl. If you like Python better, pick Python. If you want absolutely pure, straight-up OO programming, look at (whispering into your ear) Smalltalk, Eiffel, Sather, Simula, etc. (see Survey of Object Oriented Programming Languages).

I find Python's formatting rules annoying, but that's a trivial reason; I used to write JCL, so I've been sensitized to weird rules for code formatting.

emc

</code>