Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
This isn't really a coding question but I am moving through a book trying to learn Perl. I would love to be able to go to a site somewhere and get tested on some of the parts I just learned.

Does anyone know of such place? Somewhere that assigns tasks to test your knowledge? E.g

1) Write a perl script to accept a file name from a user then read the file, line by line, and check for the number of occurances of a character, provided by the user.

2) Create a hash with the days of February. Using keys and values functions split the %hash into arrays and loop through each key and display is value.

This are things I just made up now but I would love to be given small tasks to see if I really understand what I just learned. I find this forum useful because sometimes, when the questions are aimed at beginners, I take the question and try to solve it myself. Anyway, does anyone know of such a place?

In reply to Perl tests by packetstormer

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, 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
  • 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.
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others pondering the Monastery: (8)
    As of 2019-12-11 21:37 GMT
    Find Nodes?
      Voting Booth?

      No recent polls found