Moose.

Because of the complete and coherent way it provides you with a standard approach to do OO in Perl.

Because of the way it provides a declarative syntax to accomplish a lot of the things you need to do in order to produce solid code. For instance: Read-write/read-only values. Flexible type constraints where it makes sense to you. Required and default values. Lazy initialization. These are things you perhaps wouldn't normally bother with because of the extra effort and lines of code it would cost. But now all that is much cheaper.

Because of the way it scales from the very simple and minimal solutions, all the way up to meta programming.

Because of the way it is establishing itself as the foundation of bigger frameworks, e.g. DBIx::Class and Catalyst. This means you may very well need to know the basics of Moose anyway.

/J


In reply to Re: Which modules provide highest return-on-investment? by jplindstrom
in thread Which modules provide highest return-on-investment? by missingthepoint

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.