I appreciate this. I too am just(finally) diving into the OO stuff. Have been going right for Moo and Dancer and Moose, but am also faced with a contract job which is heavily OO and does not use any of the new frameworks. Needless to say, it is stretching my troubleshooting abilities beyond tolerable limits.(I am very fortunate to have a very understanding employer who is willing to let me learn!)

That is why I find a posting like this helpful. If nothing else, it provides yet another resource for learning. Thanks for this!

I do want to clarify one thing: you say The reason that's useful, is because if I write a module for you to use - then all you need to know is how to run the internal code, and don't have to worry about what goes on inside. That confused me a bit. I assume that you mean that I only need to know what my internal code is doing, as compared to the internal code of the module you provided. As in, I only need to know what you provide as methods/accessors. Is that correct?

Thanks again!

...the majority is always wrong, and always the last to know about it...
Insanity: Doing the same thing over and over again and expecting different results...

In reply to Re: Object Oriented Perl - very basic guide by wjw
in thread Object Oriented Perl - very basic guide by Preceptor

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.