Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

You timed this question very well! Yesterday our 12 year old son asked me how to write script for a game system (Morrowind). So I signed him up with PerlMonks and pointed him at the tutorials section. He started with baby steps. We managed to skip over most of the stuff about getting Perl installed etc., down to the hello world - which of course was a little more interesting when we substituted his name.

After that it was mostly feeding him little bits to augment the stuff he was reading in the tutorial. For example, at one point he wanted to check that a reply was a number, so I wrtoe a "magic" isNumber sub for him using some regex "magic". He was very happy with the magic, and spent the rest of the afternoon writing Perl to ask questions (sometimes in a loop for a "correct" answer), check answers and do simple arithmetic ("Half your age is ...").

At the end of the afternoon he knew about variables, print, <STDIN>, chomp, eq, ne, lc, last, redo, strings and interpolation (although not explicitly, just through use) and probably other stuff I don't remember. He is also keen to learn more. He was very keen to post his "first program" to PerlMonks. Anyone want to suggest a suitable section (Meditations perhaps), but I disuaded him - somewhat reluctantly.

If anyone wants to /msg Panda, he'd probably be quite excited :)

Perl is Huffman encoded by design.

In reply to Re: Teaching Children How to Program by GrandFather
in thread Teaching Children How to Program by Sandy

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
    [marto]: they have a commercial product called perlapp
    [mark4]: Do you h=know how I can get pp.exe? Is there a module I can install that includes this?
    [marto]: I always found Strawberry Perl on windows to be a much better environment, made life much easier
    [marto]: pp. install it like you would any other module
    [marto]: it probably exists in one of the PPM repositories
    [marto]: failing that see the README
    [mark4]: I installed "PAR" from the ppm install window. pp.exe. did not show up.

    How do I use this? | Other CB clients
    Other Users?
    Others contemplating the Monastery: (14)
    As of 2018-01-19 14:15 GMT
    Find Nodes?
      Voting Booth?
      How did you see in the new year?

      Results (218 votes). Check out past polls.