First of all it would be a major transgression to try to offer your own version of a core module. You don't want to go there. Please believe me on that.

Secondly it would be good if you linked to the email with the patch that you sent to p5p. (There are several publically available websites that mirror that email list.)

That may clarify what you're asking for. It sounds like you want Data::Dumper to not try to dump objects that don't have a Freezer method. If this is really what you're asking for, you will never get it. A lot of people like being able to dump objects by default. If you're asking for something else you'll need to be clearer before anyone will act on it.

As for Class:AutoDB, I just glanced at the documentation. Without testing, it is a safe bet that you have serious bugs if the object winds up being destroyed during global destruction. With Perl 5.8 or better there is a hack that reduces how easily the bugs are hit. See Re (tilly) 1: using DESTROY to DBI disconnect and Re: Destructor Order for two posts where I mention this issue, and suggestions for how to avoid it. (Basically you have to do extra work to be sure that things will get cleaned up in an END block if they survived that long.) So even if you get nothing else out of this thread, you just got a pointer to a likely bug!


In reply to Re: socio-political guidance sought by tilly
in thread socio-political guidance sought by Anonymous Monk

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.