jrsimmon has asked for the wisdom of the Perl Monks concerning the following question:
My current project has led me to customize a couple of cpan modules. Now that I've found and changed/fixed the modules to suit my purposes, I've realized I need to do something to prevent future versions of the module from breaking me (I do plan to submit my changes to the module author, once they've been cleaned up a bit).
My only idea so far is to copy the modules in question and create a new package using them. I'm not so sure this is a good idea, though...I wonder if I'd run into conflicts with other modules including the 'real' versions of my edited modules, etc.
So, is there an established method for including user-specific modules rather than modules from the /lib or /site/lib paths? How do you go about tracking/protecting changes you've made to modules installed from cpan?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Customizing cpan modules
by moritz (Cardinal) on Jul 16, 2009 at 14:23 UTC | |
Re: Customizing cpan modules
by Ovid (Cardinal) on Jul 16, 2009 at 15:18 UTC | |
Re: Customizing cpan modules
by brian_d_foy (Abbot) on Jul 17, 2009 at 00:43 UTC | |
Re: Customizing cpan modules
by shawnhcorey (Friar) on Jul 16, 2009 at 19:06 UTC | |
Re: Customizing cpan modules
by pileofrogs (Priest) on Jul 17, 2009 at 04:22 UTC | |
by graceoflarkspur (Acolyte) on Jul 17, 2009 at 23:18 UTC | |
Re: Customizing cpan modules
by leocharre (Priest) on Jul 17, 2009 at 15:02 UTC | |
by Ovid (Cardinal) on Jul 20, 2009 at 10:44 UTC | |
by jrsimmon (Hermit) on Jul 17, 2009 at 15:18 UTC |