|Perl Monk, Perl Meditation|
Which version to target for module dependencies?by xdg (Monsignor)
|on Aug 17, 2005 at 03:19 UTC||Need Help??|
xdg has asked for the
wisdom of the Perl Monks concerning the following question:
Dear fellow monks, I'm interested in hearing your philosophies, practices, opinions and/or rants about what version of module dependencies to list in a Makefile.PL or Build.PL. I've been pondering this for a while (and churning some of my modules on CPAN to fiddle with dependency versions) and have yet to come up with a "system" I'd want to apply consistently.
I see several extremes and some painstaking middle ground:
None of these jump out at me as an "a-ha!" approach that I like.
What other philosophies do people have on this? Is it different for ordinary CPAN modules versus core modules (that may or may not have updated versions on CPAN not yet in core)? Are there certain versions that you target for certain modules no matter what? (E.g. Test::More has morphed rather substantially since it was last included in a core release.)
Your input is greatly appreciated. Regards,
Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.