in reply to Re^3: Proper way to call subclass methods?
in thread Proper way to call subclass methods?

I'm thinking I should learn "old school" OO Perl for now before taking on Moo and Moose. Is that a good idea?

$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon";
$nysus = $PM . $MCF;
Click here if you love Perl Monks

  • Comment on Re^4: Proper way to call subclass methods?

Replies are listed 'Best First'.
Re^5: Proper way to call subclass methods?
by Your Mother (Archbishop) on Mar 08, 2016 at 19:23 UTC

    It's an interesting idea. Conway's book really got my brain going in a way none of my other 30 Perl books did. I think, however, the newish kits approach the problem-space... maybe not holistically but with a wide view. So, hard to say. Doing it manually, aka the hard way, will certainly improve your appreciation for the tools and rationale for the OO-frameworks.

Re^5: Proper way to call subclass methods?
by Anonymous Monk on Mar 09, 2016 at 00:40 UTC

    I'm thinking I should learn "old school" OO Perl for now before taking on Moo and Moose. Is that a good idea?

    Neither :) see High level OOP query

    Then skim through perlobj and perlootut

    "old school" or Moo... that is the easy part (less typing or more typing) :)

    The hard part is knowing When to Use OO and how to model your classes

    Like Modern Perl says Creating and using objects in Perl with Moose (Moose, pp. 107) is easy. Designing good programs is not. It's as easy to overdesign a program as it is to underdesign it....

      So to summarize, you are saying, "first learn when to use and apply OO design?"

      $PM = "Perl Monk's";
      $MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon";
      $nysus = $PM . $MCF;
      Click here if you love Perl Monks