One of the great things about Perl is the fact that, by design, it is possible to do really useful things without getting bogged down in complexity. It's the most versatile programming language I've ever used in that respect. I use one-liners all the time, and I've written, when necessary, large scripts to perform fairly complicated tasks. Since you are new to the language, one suggestion is to learn about scalar and list context and when to use which. Another is to explore the delights of the hash data structure. It's useful to learn the basics of regular expression matching too. Have you looked at the Tutorials section of this site? It should give you many ideas.

In reply to Re: Teaching Perl by virtualsue
in thread Teaching Perl by compgeek78

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.