I don't know whether this is the good way, but I got started by reading the manpage: perldoc perl, which gives you a list of other manpages to read, in order: perlsyn for syntax, perldata for data structures, perlop for operators, perlsub for writing functions, etc.

With this, you can start writing your own programs. They're likely to look ugly at first, but that's ok. They'll improve with time.

Once you know the basics, I advise you haunt the Monastery, or you subscribe to some Perl Mongers mailing list (if they talk tech stuff, that is). I learnt a hell of a lot by lurking on the Paris Perl Mongueurs' mailing list. This is one of the best ways I know of improving your expressiveness, your fluency in Perl. For instance, perlop will sure tell you about the ||=, but I had to read someone else's post to discover that it could be used to give default values.

Finally, buy (and read) books: the Camel Book seems a must have to me. It explains all the nifty features you knew would work but always wondered how. The Cookbook is also a very good read.

Just my two €0.02

--bwana147


In reply to Re: Good way to start learning Perl? by bwana147
in thread Good way to start learning Perl? by drewboy

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.