So, assuming you're already mildly familiar with Perl, but don't know what OOP in general is, I whole-heartily recommend you to read the over-cited book "Object Oriented Perl" by Damian Conway. That book is not only a very good book about Perl's OOP concepts and techniques, it's really one of the best book written about OOP in the CS field, and I've read many on the subject.

That book is so good, that even if you're a beginner in Perl and don't know what a reference is, it is a self-contained manual on the subject, and by the second chapter will teach you all the concepts and language features necessary to start building Perl classes and more! It is that good!

Also consider this: while the more Perl modern approach is to use one of the many OO frameworks/libs available (Moose,Mouse,Moo,etc..), consider that the core of those frameworks is built upon the tools and techniques available in Perl 5, which are clearly described in Damian's book.

Knowing at least some of those things, you won't then be scared or disoriented when reading Moose's manual about refs or blessing, or packages. And you will also able to interpret to some extent error and debug messages when things will inevitably go wrong for some reason.

You can of course start today making Perl classes using Moose and referring to its manual, but to put to use it (and maybe starting to use some OO software patterns) you'd have some general OO knowledge, and that book will give also that.


In reply to Re^2: Which is best book to start learning Object Oriented Perl? by markong
in thread Which is best book to start learning Object Oriented Perl? by Perl300

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.