Skip Menu |

This queue is for tickets about the Module-CPANTS-Analyse CPAN distribution.

Report information
The Basics
Id: 34938
Status: resolved
Priority: 0/
Queue: Module-CPANTS-Analyse

People
Owner: Nobody in particular
Requestors: rjray [...] blackperl.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Release 0.80 fails 11/18 test scripts
All the failures reported some variation of the following text: t/calc_test_yaml_meta.........1/4 Can't locate object method "guess_license_from_pm" via package "Software::LicenseUtils" at /usr/lib/perl5/cpan/build/Module-CPANTS-Analyse-0.80-8rJYG4/blib/lib/Module/CPANTS/Kwalitee/Files.pm line 42. It seems that in 0.003, Software::LicenseUtils changed the interface, dropping the single method "guess_license_from_pm" and replacing it with two methods, "guess_license_from_pod" and "guess_license_from_meta_yml". I tried changing "_pm" to "_pod", but the new routine refuses to be called in a scalar context. See: http://search.cpan.org/~rjbs/Software-License-0.004/lib/Software/LicenseUtils.pm
thanks for the pointer! The issue was fixed by Gabor Szabo already, but I didn't get his patches in time for my last release. Will be fixed in the soon upcoming 0.81