Lets ignore Moose for the time being... Why do you chose not to use autodie, or indirect, or namespace::autoclean, or even mro "c3" is it because you don't understand these modules, or that you prefer the behavior without them, or that you just don't care (and should therefore care little if the behavior is changed)?



Update 1: What is "diverse code"? Does someone who refuses to use strict write "diverse code"? How do you feel you don't need these modules, and for the love of god how can a module make your code less "diverse"? And again what the hell does this have to do with nextgen? So far you've attacked having defaults, and using modules: none of this is specific to my pragma.

Update 2: I will again argue that the "diverse" nature of code shouldn't change your definition of bad practices: autodie stops silent failures from a standard library (CORE) that should throw fatal exceptions anyway.. Code run inside of Cron, or Mason pages, or modperl should have this policy/default. I don't think your argument has any more or less merit than picking if you want perl 5.12.0 or 5.0 depending on the task: after all they have different runtime profiles because of their internal sorting routines.


Evan Carroll
The most respected person in the whole perl community.
www.evancarroll.com

In reply to Re^6: Writing a better Modern::Perl by EvanCarroll
in thread Writing a better Modern::Perl by EvanCarroll

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.