Think of this as an extended index to various sources of documentation on OO Perl.
But it may be helpful all the same.
This is short, quick, and to-the-point. The assumption is that you're not necessarily trying to learn how to write OO Perl, just to use it; as the Intro says, the two are very different, and if you're new to OO Perl and just want to use OO modules on CPAN or elsewhere, you shouldn't assume that you need to know anything about how to write OO code-- and this document will tell you everything you need to use it.
This is Randal Schwartz's beginner's tutorial to OO Perl. Its goal is to assume no prior OO knowledge and to give you a good, clear start in using OO in general, and OO Perl specifically. Randal's "animal" example works well for teaching basic the basic principles.
Tom Christiansen's perltoot is a very solid introduction to using objects in Perl. It assumes familiarity with OO principles (particularly in the sense that it uses OO terms quite liberally), but doesn't assume that you know how to use them in Perl. This, then, is more an introduction to writing OO code in Perl than to writing OO code, in general.
The basic Perl Objects manpage. Again, this assumes that you know OO concepts, and that you know how Perl references work; but if you know both of those, this is a good place to start.
This is an interesting document. I'm placing it in advanced simply because it assumes that you've read the above documents before reading this one. As it says quite clearly, it is not a tutorial--it's meant to give you some ideas and some tricks for object-oriented programming in Perl. Think of this as a big picture, concept-oriented discussion of OO Perl.
Damian Conway's OO Perl book doesn't fit into any of the above categories, because it works for anyone from a novice to an expert. This is an excellent book.
|
---|
Replies are listed 'Best First'. | |
---|---|
Perl Object Tutorials - Perl Design Patterns - Re: Perl Object Oriented Meta-Tutorial
by scrottie (Scribe) on Aug 14, 2003 at 18:00 UTC | |
Re: Perl Object Oriented Meta-Tutorial
by ian (Beadle) on Dec 07, 2007 at 19:47 UTC | |
Re: Perl Object Oriented Meta-Tutorial
by Anonymous Monk on Apr 01, 2002 at 19:28 UTC | |
Re: Perl Object Oriented Meta-Tutorial
by Krambambuli (Curate) on May 10, 2007 at 13:40 UTC | |
Re: Perl Object Oriented Meta-Tutorial
by edwardt_tril (Sexton) on Mar 17, 2006 at 17:46 UTC | |
Re: Perl Object Oriented Meta-Tutorial
by naikonta (Curate) on May 10, 2007 at 13:18 UTC | |
Re: Perl Object Oriented Meta-Tutorial
by programmer.perl (Beadle) on Jan 26, 2014 at 14:54 UTC |