Personally, I like to receive both code and a link to documentation. Most of the time, documentation is easy enough to find. Most of the time it's easy enough to understand. But sometimes it's not.
I always try to find the answer for myself before I come looking for help. Hopefully most people do this. If they don't, they're not gonna learn anything anyways. Sometimes it's a matter of knowing where to look. Other times, the documentation is too long or too hard to understand. I've seen plenty of modules whose pod doesn't tell you anything.
For that reason, I like to give/receive both code and a reference. A picture's worth a thousand words, even if the picture's actually some code. This is especially comforting to newbies, who may need to have their hands held. However, the documentation will probably have other useful things in it, else that too would just be a code snippet. Remember, also, that resources like Ovid's CGI course are good references.
elusion : http://matt.diephouse.com
Update:
This is my 100th post.
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.