I disagree (and think you've maybe misunderstood the OP ..).
I think there's more to be said for trying to figure out how something works yourself than for just looking for an answer. I'm championing understanding and learning over an "easy way out" - that of knowing how to type the right keywords into a search engine to get to an implementation.
Maybe there is an aspect of programming in hope. I think it's more important to be able to read a man page, or look at a synopsis and examples in a book, and have the confidence to try it out to see what it does than it is to look for a fully-working implementation that you also don't understand. If it works, great, you've found a tool to add to your repetoire. If it didn't work (which is often much more likely for a novice), then you're forced to revisit the code, re-read the examples, and try to figure out why it didn't work. When you do finally get it working, chances are you have a better understanding of why it's working than you would have done if you'd blindly typed out a working line of code from the net.
There has to be a starting point to any form of learning. Simply asking for the answers isn't (shouldn't be) one of them, in my opinion - and that's my point in the OP.
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.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||