In my opinion, the best way to learn a language like perl is by using it to solve a problem. The easiest way is if there is a real problem to solve, but you can solve made-up problems/exercises if you have the motivation and will-power to do it. Finding a problem can be hard, but good CS books (e.g. SICP) are full of them. Even if the book uses a different language, you'll find that a lot of the problems transfer well to perl. The hard part would be filtering out the ones which don't translate well. Does anyone know of a resource of good programming exercises in perl?

Then, when you are working on your solution to the problem, you can ask here for comments, advice and help. That's quite a good way of learning.

This leads me to speculate - would there be any value in a section of perlmonks for this kind of activity? The main difference to Seekers of Perl Wisdom would be the presumption of inexperience on the part of the person asking the question and perhaps also a different tenor of reply - focussed around education rather than solving the problem. (Perlmonks is already amazingly good at this but I wonder if a section with a different emphasis might be of value).

(I'll answer my own speculation with a "probably not", but I think it's interesting to consider).


In reply to Re: Study Perl with somebuddy ? by jbert
in thread Study Perl with somebuddy ? by tobox

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.