Lately I've seen many posts asking questions how to do certain things that have already been done in modules available on CPAN.
If the poster of that question simply has a normal problem to solve, it is usually best to redirect their question to the corresponding modules, like all questions that have been asked about 'how to fetch the input in a CGI-script' (look at CGI.pm of course).

But one thing that bothers me a bit is that some people just want to learn how things work. Of course you can always look at existing code in these modules (I've done that a lot myself and learned lots of it), but sometimes that code is just too advanced for the stage the programmer is in, and the module looks just like an application for the obfuscation contest...even though it may be 'normal' Perl...

These posters still get responses like: "look at this module", "don't re-invent the wheel", "I'm not going to answer this because it's already been done". Of course it's been done, but if the poster explicitly asks for help and doesn't want to just use existing code to learn how to do it, what's wrong with that?

I'll probably get voted down for this and starting some flamewar...oh, well....

Jouke

In reply to re-inventing wheels 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.