Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Looking for examples of well-written modules

by Your Mother (Archbishop)
on Aug 27, 2004 at 20:31 UTC ( #386490=note: print w/replies, xml ) Need Help??


in reply to Re: Looking for examples of well-written modules
in thread Looking for examples of well-written modules

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.

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, et cetera have to say about it before I put it in the Bat-belt.

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.

I picked up quite a bit from reading the Class::DBI modules. Like using Class::Accessor and some DBI tricks I didn't know. IIRC TheDamian recommends reading anything from Gurusamy Sarathy.

You could also just tip-toe through http://cpanratings.perl.org/ 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.

  • Comment on Re^2: Looking for examples of well-written modules

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://386490]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2021-01-15 16:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?