Ken Williams wrote:
On Aug 20, 2005, at 5:46 AM, Jos I. Boumans wrote:
Greetings,
Due to the 0.056 release of CPANPLUS [1], where the two diagnostics
functions
'error' and 'msg' got renamed to 'cp_error' and 'cp_msg', a change was
required
in CPANPLUS::Dist::Build as well.
That means that the new C::D::B won't work with previous CPANPLUS
versions, right? Yuck. Couldn't you just have straightened out the
conflict with Log::Message::Simple internally in CPANPLUS without
changing the function names?
Yay, now we can implement fun, maintainable stuff like:
if ( $CPANPLUS::VERSION < 0.056 ) { # API changed
*cp_error = \&error;
*cp_msg = \&msg;
}
On a serious note, I will add that this is an example of why C::D::B
shouldn't be bundled into (and thus on the same release schedule as) M::B.
(And vice-versa -- the glue code needs to evolve as fast as either
distribution does.)
Regards,
David Golden
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
|