I try to read *some* quality code *really closely*. That is, I force myself to really read it (which I find annoyingly hard at times).

Quality code in Perl is available in masses on CPAN (as dws noted). That aside, I often like to read code in books (as opposed to reading on the screen) to alleviate writers block. The last really good one in Perl was "Network Programming with Perl" from Lincoln Stein. Other gems include Jon Bentley's "Programming Pearls", "Software Tools" by Kernighan and Plauger, "The Standard C Library" by Plauger, "Artificial Intelligence: A Modern Approach" and "Paradigms of Artificial Intelligence Programming: Case Studies in Common Lisp" by Norvig, "Introduction to Algorithms" by Cormen et al., "Lion's Commentary on UNIX with Source Code" by Lions & Ritchie.

But still I have to say that the most inspirating thing is close contact to like-minded fellow programmers *in person*. And alas, this seems to be hard to get.

Ah, yes, recently I started to play with running perl under a debugger (single-stepping perl). That can be an awful lot of fun, too.

Christian Lemburg
Brainbench MVP for Perl
http://www.brainbench.com


In reply to Re: Where do you turn for programming inspiration? by clemburg
in thread Where do you turn for programming inspiration? by sifukurt

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.