This is a "best practice" question.

If you notice that a CPAN module has a very specific bug in it, but it's not easily patchable since the modules it requires it the main culprit. Do you patch both modules and submit (I'm not even sure this is possible). Or do you rewrite the module and make it work as it should and then run into a rather odd naming situation.

The module i'm speaking of is Net::Traceroute::PurePerl, but the problem exists in Net::Traceroute as well. I should actually point out that the problem exits within every tested version of traceroute on linux/solaris including MTR and assorted TCPtraces.

When attempting to traceroute through an unrouted device on the system, the packets travel out over the default interface with packet headers from the specified interface. This causes nothing to return, and, in order to force any information to return you can use ICMP echo rather then UDP and you'll get the route for the default interface. Clearly this is not what it should do.

I've started a module that can report the desired route of the proper interface, but I have yet to add any of the extras which would be needed for CPAN. I also run into a problem of a name for it.

So in the end my question is. Is it okay to step on an already developed module with a new replacement?. Or would it be wise to first inform the authors of the issue. Or Since the problem is deeply ingrained into the known application should i assume i'm the only person that ever plans on running these types of tests and just keep it to myself?

janitored by ybiC: Retitle from "CPAN bugs and proper proceedure", make PM-links of module names


In reply to Bugs in module on CPAN: proper procedure by jaco

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.