I am with brother moritz, i.e. the two step approach. Once you have mastered the OO concepts it can serve you well in any programming environment. OO is a philosophy and program languages have various degrees of supporting it, ranging from not-at-all to fully OO.

You can for example even write OO programs in COBOL (with a lot of discipline I admit) but other language have specific constructs which make it a lot easier. I liked Object-Oriented Design as a general book on OO. As a warning: OO can have a steep learning curve. The more experience you have with non-OO languages the longer it usually takes to write decent OO programs.

Specific for Perl you can look in the Perl Cookbook, chapter 13. “Classes, Objects, and Ties”, Programming Perl, Chapter 5 “Packages, Modules, and Object Classes” and Advanced Perl Programming, chapter 7. “Object-Oriented Programming” + chapter 8. “Object Orientation: The Next Few Steps”. There is lots of stuff in the Monastery and on Internet in general, just Google for it. The suggestions above are also well worth considering.

HTH


In reply to Re: looking towards learning OOP by dHarry
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.