I don't think any relies on __PACKAGE__, it's just a nice syntactic way to make your code easier to repurpose; package name change doesn't require change in code. Cutting and pasting a declaration means you only edit the params, not the package name.

I've thought about how much PerlMonks could gain rewritten in Catalyst. Do *not* get me wrong. I love this place, I adore the monks who care for it and totally appreciate their service (Gods, Janitors, Dev, all). That said, this is easily the slowest site I ever visit. I don't mind -- I remember what modem speeds were like in the 90s and I still feel spoiled on any modern connection -- but I'd certainly enjoy a speed-up. http://www.everydevel.com/ just timed out, for example.

Consider how many people it takes to make this place run and add features. How much legacy cruft is in the guts. The power of Catalyst, which does come with some bulk, is that one developer can replace a team, just about any deployment is possible, and if you don't like DBIC you can use Rose::DB or DBI or MyCrazyWheelIdidntKnowWouldBeSoHardToDoRightx.

(Though I have been curious what a Catalyst rewrite in Moose might look like...)


In reply to Re: The New Everything by Your Mother
in thread The New Everything by atemerev

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.