I agree with the suggestions above. Hashes, especially, change the way you think about data.

Regex in Perl is pure gold too, and could take months to teach if you went into any amount of detail.

One thing I'd do is teach how to get information in Perl. Not just CPAN (though that's a great suggestion cuz there's so much to do), but perldoc, and just how simple it is to formulate a quickie test program. I'd think that perltut would be a decent place to start.

For me, I use Perl most often, not to build a massive production piece of software, but just to automate the environment and the data generated by the legacy systems I'm consigned to maintain. So getting text/arguments/pipes/sockets/data into my program and doing something quick with it, etc... is very useful to me. Perl's so nice in that way. I also love how Perl handles References--the hash of hash (of etc.) is a beautiful thing.


In reply to Re^2: Design a Perl training day by raybies
in thread Design a Perl training day by GrandFather

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.