On Sun, May 17, 2009 at 10:52 AM, Elliot Shank <p...@galumph.com> wrote: > I've got a M::B subclass that forces itself into configure_requires. This > subclass also uses version.pm. Parse::CPAN::Meta cannot handle the > resulting META.yml (example attached), which means that current CPANPLUS > cannot install any distribution that uses my subclass.
Fixed in trunk. All versions supplied to requires, build_requires, configure_requires, etc. are now normalized if they are a version object or appear to be a dotted tuple. As a bonus, M::B is automatically added to configure_requires (and build_requires) if no configure_requires is specified in Build.PL. Generated dist_versions are also normalized, but dist_version set by hand in Build.PL will not be normalized. Buggy downstream tools that can't handle normalized version tuples will need to be fixed. -- David