Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
I'm in the middle of writing a module to replace a CPAN module that I consider to be poorly written. But I've never written a module for CPAN before and I'm wondering if it's worth my time to submit this one if there is a similar module out there.

That's the gist of my question. If you want to hear the gory details...

I was on CPAN yesterday looking for a tool to download images from a website and came across HTTP-GetImages. It purportedly does what I want, except it doesn't. It appears to be broken. For instance, the author wrote his own malfunctioning hack to generate absolute file paths instead of using URI.pm. It doesn't handle search links contained in javascript pop-up boxes. And it seems to me to needlessly use anonymous arrays and hashes, adding to the comlexity of maintaing and debugging the code.

I spent about an hour looking through above module's code and finally decided that instead of trying to fix the module, it would be more fun and give me badly needed practice writing my own module from scratch. So far, so good, I'm about halfway done with my release.

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


In reply to Reinvent a broken wheel? 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, 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, 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.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others rifling through the Monastery: (5)
    As of 2021-01-19 15:44 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      Notices?