Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: Learning the Deeper Secrets of Perl

by brian_d_foy (Abbot)
on Jan 27, 2005 at 17:44 UTC ( #425649=note: print w/replies, xml ) Need Help??

in reply to Learning the Deeper Secrets of Perl

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 <>
  • Comment on Re: Learning the Deeper Secrets of Perl

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://425649]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2018-06-24 13:54 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (126 votes). Check out past polls.