I've acutally been through this a couple of times, and I'm currently training a friend. I recommend finding something your intern knows how to do from the command line and set them to automating it. One advantage to this approach is that they already know how it should work, so they can focus on the programming aspect.

For example, have them write a log file filter. Set them to writing a script that will open a logfile, search for key data, and output that data to a separate file.

Another task would be to have them write a wrapper around ping, host, and traceroute that would crawl your network. The output might actually be useful, as you may discover some things about your network.

Another good project is a tool that uses MP3::Tag to manipulate the tags on an mp3 collection. It's a good project for learning perl modules, hashes, and pattern matching.

Finally, as to the Camel and Llama books, if your intern wants to code perl, they need the Camel book. It's a formal requirement. Period. If they're so dead broke that they can't afford used copies (and I remember those days), and your company refuses to pony up for a corporate copy of O'Reilly's CD bookshelf, and you can't get them to trade for it ("Mow my lawn and wash my car and I'll buy you the damn book, kid"), there's a solution. It's not pretty, and it's illegal I'm sure: Google for it.

-Logan
"What do I want? I'm an American. I want more."


In reply to Re: Learning Exercises by logan
in thread Learning Exercises by ropey

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.