note
Your Mother
<blockquote><i>PM is probably one of the best places to get a glimps of what some good codes look like. Like books, most examples are short, but one can get the essense. </i></blockquote>
<p>This is doubly true b/c all the code that gets posted is defacto peer reviewed. So if something is awkward, overly inefficient, or just plain wrong, it tends to get exposed as such immediately. Sometimes when something is posted that looks great at first blush but is new to me I wait to see what one of the big cats like [tilly], [dragonchild], [merlyn], <u>et cetera</u> have to say about it before I put it in the Bat-belt.
</p>
<p>I also think short examples encourage modular thinking and coding. I probably learn more and pick up better style from reading other hackers' subs than their full applications.</p>
<p>I picked up quite a bit from reading the [cpan://Class::DBI] modules. Like using [cpan://Class::Accessor] and some [cpan://DBI] tricks I didn't know. IIRC [TheDamian] recommends reading anything from <a href="http://search.cpan.org/~gsar/">Gurusamy Sarathy</a>.</p>
<p>You could also just tip-toe through <a href="http://cpanratings.perl.org/">http://cpanratings.perl.org/</a> and read the code for anything with 4.5+ cumulative stars. Code that users like is worth checking out even when the man behind the curtain doesn't always measure up face to face.</p>
386183
386245