As anonymous mentioned, one of the important things is in making sure that you're getting good examples. (and then there's the issue that what's good for one level of coder might not be good for others)
For some examples of code, you can try krugle or Google codesearch (I've been known to search for 'use PackageName' to find examples, even on search engines that aren't code-specific)
For the best examples ... I'm not sure what's really 'beginner' quality these days ... for more advanced stuff, you might take a look at the NMS work by london.pm, As it's been produced by a group, I find it has better commenting than many solo projects.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|