in reply to Fields pragma - the poor man's OO framework?

I have to echo holli here. Just because you cannot install the module from CPAN doesn't mean you cannot grab the module and put it into your project. In a $work project, I had to do exactly that, but because the module wouldn't compile cleanly. So, I grabbed it, fixed it, and it installed with my code.

Most CPAN authors that I have worked with (and myself, for that matter) aren't really sticklers to "Use my version or else!". As long as you credit the author(s) in a comment somewhere in the code, that's all that's needed. I do that whenever I grab code from Perlmonks. Something along the lines of:

# Taken from http://www.perlmonks.org/?node_id=5551212 # Thanks to <userid> for providing it! sub foo { # Some useful code here }
I've done that probably 5-6 times in both CPAN and $work stuff. That not only gives credit where it's due but, as importantly, tells the maintainer (who's the you in 6 months!) where to find the context for the code.

My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?