-=| Jozef Kutej, Fri, Feb 26, 2010 at 03:44:41PM +0100 |=-
> Package: dh-make-perl
> Version: 0.63
> Severity: minor
> 
> Some authors use "version: !perl/Module::Build::Version" in META.yml. Like 
> for 
> example 
> http://cpansearch.perl.org/src/SMUELLER/Class-Accessor-Assert-1.40/META.yml
> which results in:
> 
> Found: Class-Accessor-Assert 0Module-Build-Version-HASH-0xa487160- 
> (libclass-accessor-assert-perl arch=all)
> 
> The solution will be to load "Module::Build::Version" in DhMakePerl.pm.

Shouldn't this be loaded by the module which parses META.yml? In 
dh-make-perl's case this is the YAML module (I also tried with 
YAML::Syck and YAML::XS).

I mean, how would dh-make-perl know that it has to pre-load module X?

> Example:
> 
> Class-Accessor-Assert-1.40$ /usr/bin/dh-make-perl
> Found: Class-Accessor-Assert 0Module-Build-Version-HASH-0x9872160- 
> (libclass-accessor-assert-perl arch=all)

Note to self: in order to reproduce, do not use --cpan option, because 
it loads CPAN, which loads Module::Build, which loads M::B::Version.

Attachment: signature.asc
Description: Digital signature

Reply via email to