Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re^2: What CPAN modules are "good reads"?

by bart (Canon)
on Jun 13, 2005 at 19:26 UTC ( #466260=note: print w/replies, xml ) Need Help??

in reply to Re: What CPAN modules are "good reads"?
in thread What CPAN modules are "good reads"?

Better unlearn it fast!
  • Comment on Re^2: What CPAN modules are "good reads"?

Replies are listed 'Best First'.
Re^3: What CPAN modules are "good reads"?
by ghenry (Vicar) on Jun 13, 2005 at 19:45 UTC

    Yes, it sounds as if I should.

    Walking the road to enlightenment... I found a penguin and a camel on the way.....
    Fancy a Just ask!!!
Re^3: What CPAN modules are "good reads"?
by SolidState (Scribe) on Jun 14, 2005 at 10:30 UTC

    Err... why?

      Oh, several reasons. Most of all, it does some things I think were a major mistake, like trying to determine whether a sub is called as a function or as a method, at runtime.

      Furthermore, it has its own "optimization" using AUTOLOAD, defining sub definitions as strings and evalling them at runtime when the sub is first called. Again, it's not something I want to see in every module.

      Leave out those major stumbling blocks (for me anyway), and you do get some readable code, I agree. But the module is still too big for its own good.

      I'm quite convinced there must be many much better examples of modules to use as a model on how to do things.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2023-06-01 02:56 GMT
Find Nodes?
    Voting Booth?

    No recent polls found