Alex Rivera | Logout

Where can I find object-oriented Perl tutorials?

Asked 2009-11-09T14:39:59.930
9

A Google search yields a number of results - but which ones are the best?

The Perl site appears to contain two - perlboot and perltoot. I'm reading these now, but what else is out there?

Note: I've made this community wiki to attempt to produce something better than Google, which appears to have mediocre tutorials that are more about object-oriented programming than object-oriented Perl style and techniques and the two on the Perl site. One tutorial per post + a summary of the good/bad things about the tutorial would be best so we can let the best tutorials float to the top.

Edit
Report

2 Answers

8

Damian Conway's Object Oriented Perl has two essential chapters and all the source code online.

answered 2009-11-09T15:11:40.560
0

Starting Object Oriented Programming with Perl at Suite 101 is bad for a number of reasons and should be avoided.

Why the tutorial is bad:

  1. Shows non-inheritable constructors, but uses them in an example for inheritance
  2. Uses indirect method call syntax
  3. Does weird, buggy stuff to access arguments in code samples
  4. This is a minor niggle, but the author uses a big string of concatenation with a print where a list of arguments would work better (or better yet a join).
answered 2009-11-09T19:20:52.743

Your Answer