Starting step-by-step is a good approach. When I started, I focused on working with files and
applying regular expressions to extract relevant information. And I didn't bother much that
all my control-structures looked like c. Afterward I played with hashes and then with Win::OLE and
Excel - just because that were the things I needed most.
A great way to learn is also the monastery: I often use the questions by other monks as a
challenge to produce some working code. And afterward I compare my solution with the highly optimized
ones of the more experienced monks here. And try to understand their solutions. I think I learned
very much that way. And if I look at (perfectly working!) code I wrote some months ago, I see a huge
difference in style and efficiency. :-)
If you want a collection of good exercises and other information for a beginner, you may also have a
look at the following great collection by planetscape: Re: Real Life Perl Exercises.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
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:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, 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, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||