On 22 feb 2008, at 16.06, Greg Sabino Mullane via RT wrote:
Show quoted text>
> <URL:
http://rt.cpan.org/Ticket/Display.html?id=33429 >
>
> Which version did you try this on? version is listed as a prereq in
> both
> META.yml and Makefile.PL as of 2.1.2. If this was on a version less
> than
> that, please try again. Otherwise, I'm open to ideas. :)
This was 2.1.3 straight from CPAN on a fresh perl 5.6.2, ie one with
the stock CPAN.pm (1.59_54). It looks like it does not follow what
META.yml says and relies on parsing the output from Makefile.PL (ie,
Warning: prerequisite Object::Tiny 0 not found) to find dependencies.
I think an easy and workable fix would be to not use version.pm in the
Makefile.PL itself and treat the $VERSION there as a string since it's
only used in a regexp to check if it's a devel-version and the real
package version is declared using VERSION_FROM => "Pg.pm". It should
still continue to to list version as a dependency in PREREQ_PM tho.
/Claes
---
Claes Jakobsson | claes@versed.se | +46-702-823327
Versed Solutions |
http://www.versed.se/