I beg to differ. The two languages are syntactically very different in their approaches to class creation. Have you ever tried object-oriented programming in Perl? I have. It's cumbersome if you've ever programmed in any number of other languages.
Of course OOP isn't always appropriate, like if you're trying to remove every fifth line from a log file. In those cases Perl will work just fine. But so will Python and Ruby. Regular expressions exist outside of the Perl world, contrary to popular belief.
Perl and Python also handle built in data structures quite differently. Basically they work as you'd expect them to in Python, while in Perl you'll eventually run into some idiosyncracies. Try putting a list inside of a list in Perl and you'll see what I mean. It's easy to nest the structures, but extracting the elements is another matter.
Sora
I beg to differ. The two languages are syntactically very different in their approaches to class creation. Have you ever tried object-oriented programming in Perl? I have. It's cumbersome if you've ever programmed in any number of other languages. Of course OOP isn't always appropriate, like if you're trying to remove every fifth line from a log file. In those cases Perl will work just fine. But so will Python and Ruby. Regular expressions exist outside of the Perl world, contrary to popular belief. Perl and Python also handle built in data structures quite differently. Basically they work as you'd expect them to in Python, while in Perl you'll eventually run into some idiosyncracies. Try putting a list inside of a list in Perl and you'll see what I mean. It's easy to nest the structures, but extracting the elements is another matter. Sora