# from Michael G Schwern
# on Sunday 28 September 2008:
>> Well, in this particular case, Module::Build would be scraping for one
>> module's version, and that is itself, which means that it's pretty easy
>> to craft a known correct algorithm.
>
>True, but we're a step away now from a more general bundling solution.
Next release:
package Module::Build::ping;
$VERSION = 0.31;
Build.PL
BEGIN {
eval {require Module::Build::ping}
unless(Module::Build::ping->VERSION||0 > $version_I_want) {
unshift(@INC, "inc/mb");
}
}
Or something tested. Implicit in that is that you want something greater
than the one you've bundled.
--Eric
--
"It is a mistake to allow any mechanical object to realize that you are in a
hurry."
--Ralph's Observation
---------------------------------------------------
http://scratchcomputing.com
---------------------------------------------------