Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

schwern (1528)

schwern
  (email not shown publicly)
http://schwern.net/
AOL IM: MichaelSchwern (Add Buddy, Send Message)
Jabber: schwern@gmail.com

Schwern can destroy CPAN at his whim.

Journal of schwern (1528)

Monday January 11, 2010
05:59 PM

Great Perl Code

[ #40090 ]

I was in a bar the other day talking with somebody about Perl. He asked, "what is some great Perl code I could read?" He was looking for a non-trivial amount of production Perl 5 code that elegantly solves a problem, and is beautiful to read.

I'm couldn't answer that. The code I see is either beautiful to read but fairly boring in what it does OR is an elegant solution but is terrifying to read (for example, autodie). I'm a biased observer, I work mostly with the plumbing so I see mostly the scary stuff that implements the elegant solutions.

What code would you show a non-Perl programmer read that is both beautiful and interesting?

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Date::Holidays::NZ, MooseX::Timestamp. Crypt::Password, by a colleague. Maybe Net::MythTV by Acme?
  • Alas, most of my great code is great because it's so trivial for that job. :(

  • I like Dist::Zilla.

    The plugin system is very nice.

    --
    life is short
  • AppConfig by Andy Wardley is widely used, nontrivial in what it does (reading complex configuration data from various sources), and beautiful to read.

    Games::Pentominos by myself is not very useful, but also nontrivial in what it does (solving a paving puzzle by recursive trial and error), and I shamelessly think it is quite nice to read, displaying a number of Perl features (regexes, functional grep/map, compilation on the fly, etc.).