That's teaching them to fish.

Well, there is a level thing. Comparing with teaching a person how to search CPAN, this is a fish; But comparing with giving a person a piece of sample code as how to use that CPAN module, this is teaching them fishing. (One more: comparing with telling one that there is a CPAN.org, teaching a person how to use CPAN is giving him a fish ;-)

So the question really is what is the right level, or put it in this way, should you give one a raw fish? a marinated fish? or a cooked fish?

I think it is perfectly okay to point people to a particular CPAN module, as they still have a widely open space to learn, they have to read doc, have to dig into those methods, and figure out how to make it work for them.

There might be a couple of CPAN modules available for the same thing, as an experienced user, you must have a reason to pick this particular one, and that's what is really precious to newbies - your experience.

Sometime, some people are in a rush to have something done, and by pointing them to a module, you saved them.


In reply to Re: Is CPAN fish or fishing? by pg
in thread Is CPAN fish or fishing? by BrowserUk

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.