Just to take the opposite side of this argument: it is not at all clear to me that the doctrine of "Object-Oriented Design" has anything going for it -- this isn't the sort of thing anyone ever takes the trouble to do studies of, so instead we're all left shouting our anecdotes and personal impressions at each other. Notably, what exactly OO Design is is somewhat up for grabs, and has certainly changed over the years (any failures in OO designs, you see, can never be the fault of OO design itself, but instead must be the result of a poor implementation... and so we have ancilliary doctrines accumulating around the original doctrine, e.g. "design patterns").

One could make the case that using objects in perl is a little less onerous than in a more fundamentally object-oriented language, because you can be a little sloppier about it and let the abstractions leak when they need to.

My own take would be that pursuing some grand understanding of the fundamental principles of objects before you proceed with actually using them would be totally crazy: you'll never be done with it, and never get down to the concrete-level to see if using objects actually does anything for you. Most likely you'll need to pursue both levels at the same time, and a good way to start may very well be to think about object classes as a collection of routines that share data via a blessed hashref.

Some of my own suggestions (for what they're worth, and I'm not sure how much they are):


In reply to Re^3: looking towards learning OOP by doom
in thread looking towards learning OOP by spx2

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.