I have made a contribution to CPAN. The module is called Log::Log4perl::Shortcuts and its goal is to make the use of Log::Log4perl super easy by minimizing the code needed while keeping the ability to have fine-grained control of the warning level categories using Log4perl's configuration file.

I use it in my own modules and it works well for me. My next goal is to make it into module that can be more useful and adaptable for others as well. For example, the Log4perl configuration file that is bundled with the module is pretty complicated and crufty. It's set up for my own needs/desires so I need to document how it works better so others can create their own custom configurations more easily. Also, some of the log file formatting is hard-coded into the module and I need to figure out a good way to address that.

Before I put that effort in, though, I'd like to feed myself to the wolves and get my fellow Monks' guidance and input. Particularly:

Is the core idea behind this module worth improving upon?

Do you see any major design flaws to the approach of this module?

What confuses you the most about how to implement the module?

Feel free to beat me about the head and neck with your critiques. And thanks to all the monks who have helped answer my questions here on PerlMonks .

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


In reply to Evaluation of my CPAN module by nysus

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.