Strict solutions to all exercises, base64-encoded:

1b3VyIEB4OyBteSAkeTsgKng9c3Vie1xAX30tPigkeSwkeSk=
2e2ZvbztyZWRvfQ==
3abXkgJGZvbyA9IFt7MSwgMX1d
3bc3ViIHogOiBsdmFsdWUgeyAkOjp6WzFdIH0gbXkgJGZvbyA9ICp6
4ZHVtcDs7 or ZHVtcCgp or fn5kdW1w, etc :-)
5c3ViIGZvbyB7IG15ICR4IGlmIDA7IC4uLiB9
6b3VyICgkeCwgJHkpID0gKCp4LCBldmFsICJsb2NhbCAqeCIp
7bXkgJGZvbyA9ICpTVERPVVR7SU99
8b3VyICRmb287ICpmb28gPSBcKyskfA==
9abXkgJGZvbyA9IFwkXlM=
9bcGFja2FnZSBZO291ciRmb289XDA7JFg6OmZvbz1cIiAiOypZOjo9Klg6Og==
or JGZvbz0iXzwoZXZhbCAxKSI= (non-strict original)
10QkVHSU57Knk6Oj0qeDo6PSQ6Onk9Kjo6fQ==
11KkNPUkU6OkdMT0JBTDo6Z2xvYj1zdWJ7fQ==

For the bonus exercise, see the explanation above


In reply to Solutions by xmath
in thread How's your Perl? by xmath

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.