Hmm, good question.
If the OP really doesn't seem sure of what they are trying to achieve, then I'd rather get a clarification of their goals, as posting unrelated code can, and often does, further confuse matters.
On the other hand, if the OP knows what they want to do, but aren't sure how to start/finish, then that's a whole different thing.
I do like to see some code in a question, not because I'm overly bothered about people trying to get a free ride, but because it helps show where they are coming from.
As is perhaps evidenced by the small amount of actual hard code that I post, I'm quite partial to encouragement of getting people to try it for themselves, although I'm also wary of leading people down the "What do you mean there's a module for it?! I've been trying to get this to work for x hours!" path.
A good approach may be to refer people to a relevant Q&A or catacombed code..?..thing? where the "guess" resides.
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:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- 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
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||