in reply to Fields pragma - the poor man's OO framework?
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:
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.# Taken from http://www.perlmonks.org/?node_id=5551212 # Thanks to <userid> for providing it! sub foo { # Some useful code here }
|
|---|