You have to find something that forces you to look at things you would never look at. People have suggested writing modules, but that just makes you use the stuff you already know. Other people have suggested books, but there aren't that many deep secrets in the books that you can't get almost anywhere else.
Here's what I do, although not on purpose:
- Teach Perl - until you have to explain how something works, you probably don't really understand it. You may be able to use it correctly, but the act of teaching makes you integrate it into a larger view of everything.
- Answer perlfaqs - This is much like teaching Perl, although you don't get the pressure of a student waiting for an answer. you do get to research the topic though.
- Write about Perl - Sit down and write down everything you know about a topic. That's probably only a small fraction of what there is to know. Start filling in the details.
- Read perl5porters, etc - a lot of the deep secrets aren't in books. You'll have to wade through a lot of mailing lists, usenet posts, and other sources to get a few nuggets.
- Read the source - look under the hood of Perl scripts and modules, and do it a lot. If you really want to know the black magic, figure out which authors have weird or fragile idioms and styles. You don't have to code like they do, but you'll have to figure out how they are doing their magic.
- Write the source - if you get over your fear of reading the source, start writing the perl source. You'll have to figure out how everything connects to everything else.
- Just stick around - keep doing what you are doing, but for a lot longer.
brian d foy <firstname.lastname@example.org>
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:
Outside of code tags, you may need to use entities for some characters:
- 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.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||