in reply to New Perl user looking for code to study

You're looking for CPAN

Happily, however, the journey is ongoing. As you come to understand more of what you encounter the urge to read code will become stronger and you'll find yourself skipping to the source before you read the documentation.

Note that it can be just as useful to read bad code as it is to read good, what's important is to keep interested in self-improvement.

There are loads of examples of funky Perl code out there but if you're looking for real-world good stuff, here are a couple of favourites:

And look at the whizz-kids here. Perlmonks isn't like other forums1, there are regular contributions from some of the best minds in the business that frequently question how [id://matthewb|this] little contractor writes his code.


[1]. Kidding about that link ;)


MB
  • Comment on Re: New Perl user looking for code to study

Replies are listed 'Best First'.
Re^2: New Perl user looking for code to study
by merlyn (Sage) on Apr 24, 2005 at 06:12 UTC
    Newcomer CGI::Prototype is almost enough to make me give up coding altogether in how infuriatingly sensible it is
    {blush}

    I suppose the real thing that drives my coding for stuff like that is the sensible "Smalltalk Best Practice Patterns" by Kent Beck, an excellent book for basic object oriented programming, even though it is focused on Smalltalk. (And supports my idea that you really can't say you "do OO" until you've practiced in Smalltalk at least for a short while.)

    -- Randal L. Schwartz, Perl hacker
    Be sure to read my standard disclaimer if this is a reply.