Despite my limited knowledge of both subjects, I have been asked to give a 3-day course "Unix and Perl for Beginners" for some of my cow-orkers. I was thinking of looking at problems such as Untangling Log Files, seeing what sort of simple, ad hoc approaches a Unix shell such as bash might offer, and then develoing a nice Perl solution.

What I need are a few more ideas, besides the one mentioned above, for suitable problems. Other than dealing with huge, incomprehensible log files on a daily basis, my cow-orkers also have to grub about in rather large databases and tweak data. In addition they use a complex build process which is controlled by setting dozens of environment variables.

I had a look at the 99 Problems in Perl6, but they are rather too rarified for my purposes. I'm looking for something more along the lines of "Plenty of Practical Perl Problems" but maybe it is expecting a little too much to find many problems that are both somehow generic and at the same time specific enough for the solution to be a stand-alone utility.

Any ideas?

Update: I should have said that my cow-orkers are developing and/or testing software (not written in Perl) and need Unix and Perl to paper over the cracks in the various processes.

loris


"It took Loris ten minutes to eat a satsuma . . . twenty minutes to get from one end of his branch to the other . . . and an hour to scratch his bottom. But Slow Loris didn't care. He had a secret . . ." (from "Slow Loris" by Alexis Deacon)

In reply to Plenty of Practical Perl Problems? by loris

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.