I think you will find that Seekers of Perl Wisdom is itself a treasure trove of over a million questions that are candidates for beginner exercises.

Granted, sometimes the biggest problem is to figure out what the original poster meant to ask in the first place. Once this is clear, you will frequently find that the question is too specialized or subtle to use as a beginner's exercise.

Once these hurdles are passed, you will often find yourself with a question in hand that is both clear enough and fundamental enough to be enlightening. Without looking at the answers of others, provide your own answer. Look through the documentation to provide support for your answer. (Becoming familiar with the extensive documentation provided with Perl both on- and off-line is valuable in and of itself.) Write some small code examples! (Note that the word examples is plural; variations on working code are often instructive and may produce enlightening extensions to the original question. Play with the code!) Then, and only then, look at the answers to the question provided by others. Then start over: check their documentation links; test and vary their code examples; etc.

I go through SoPW looking for regex-related questions with precisely this attitude. I may not come up with an answer that is original or particularly helpful to the OPer, but I will often benefit myself!

May your quest(ion)ing be fruitful!


In reply to Re: Perl Puzzles by AnomalousMonk
in thread Perl Puzzles by vyeddula

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.