Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

I think you're missing a huge part of the picture of OSS development, and what CPAN is. CPAN is a way to share code.

Someone, one day, needed to parse mail messages from an internal system, and wrote a module to do it. It works reasonably well, but doesn't consider all of the edge cases. Still, though, they spent hours just getting what they have to work, so they upload it to CPAN so that no one else will have to duplicate that work.

Yes, this means that most of CPAN isn't of the highest quality. That doesn't mean that the advice to "go find a CPAN module to do your task" isn't valid: it just means that it won't save you 100% of the work you need to do.

You claim to have, on your website, better-quality versions of several modules which you felt were incomplete. The point behind CPAN is that it's collaborative: have you sent patches (with tests) to the module maintainers so that other people can benefit from your improvements?

When we say "don't reinvent the wheel, use a CPAN module", we mean that you shouldn't re-do the work others have done. If no CPAN module quite cuts it, then download the closest one and build on it to complete your solution. Ideally, then, also contribute your improvements back to the CPAN module.

The responses to your questions about mail parsing were not as you phrase them. They were "don't start from scratch, a lot of work has already been done and is available on CPAN: start there".

A collection of thoughts and links from the minds of geeks
The Code that can be seen is not the true Code
I haven't found a problem yet that can't be solved by a well-placed trebuchet

In reply to Re: Reliable software OR Is CPAN the sacred cow by radiantmatrix
in thread Reliable software: SOLVED (was: Reliable software OR Is CPAN the sacred cow) by powerman

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (1)
As of 2022-08-16 01:44 GMT
Find Nodes?
    Voting Booth?

    No recent polls found