Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Acme-CPANAuthors-MBTI CPAN distribution.

Report information
The Basics
Id: 101596
Status: open
Priority: 0/
Queue: Acme-CPANAuthors-MBTI

People
Owner: Nobody in particular
Requestors: ether [...] cpan.org
Cc:
AdminCc:

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



Subject: Acme::CPANAuthors::MBTI breaks Acme::CPANAuthors interfaces
use Acme::CPANAuthors; my $author = Acme::CPANAuthors->look_for('ETHER'); gives: Can't locate object method "authors" via package "Acme::CPANAuthors::MBTI" at /Users/ether/.perlbrew/libs/21.6@std/lib/perl5/Acme/CPANAuthors.pm line 168. Acme::CPANAuthors::_get_authors_of("MBTI") called at /Users/ether/.perlbrew/libs/21.6@std/lib/perl5/Acme/CPANAuthors.pm line 132 Acme::CPANAuthors::look_for("Acme::CPANAuthors", "ETHER") called at ... Everything in the Acme::CPANAuthors::* namespace (other than the helper classes in the main distribution itself) must conform to a specific interface.
This generates the following failure reports: Acme-CPANAuthors-Nonhuman-0.020: - x86_64-linux-ld / 5.18.4: - FAIL http://www.cpantesters.org/cpan/report/302fd1c0-9ea2-11e4-bf8c-e24f8971dd2f - x86_64-linux-ld / 5.20.0: - FAIL http://www.cpantesters.org/cpan/report/893742fa-9ea5-11e4-92c3-ff408971dd2f - x86_64-linux-ld / 5.21.6: - FAIL http://www.cpantesters.org/cpan/report/25bc69a4-9ea4-11e4-aed7-5a9b8971dd2f - x86_64-linux-ld / 5.21.7: - FAIL http://www.cpantesters.org/cpan/report/0c05d9fc-9ea2-11e4-ae42-ee438971dd2f - x86_64-linux-thread-multi / 5.21.5: - FAIL http://www.cpantesters.org/cpan/report/96634ace-9ea4-11e4-81c9-16548971dd2f - x86_64-linux-thread-multi / 5.21.6: - FAIL http://www.cpantesters.org/cpan/report/421cdb1c-9ea2-11e4-9284-0c558971dd2f - x86_64-linux-thread-multi / 5.21.7: - FAIL http://www.cpantesters.org/cpan/report/3d818ee2-9ea0-11e4-a303-f5ad8971dd2f - x86_64-linux-thread-multi-ld / 5.18.2: - FAIL http://www.cpantesters.org/cpan/report/79f2b500-9ea4-11e4-8b49-114a8971dd2f - x86_64-linux-thread-multi-ld / 5.21.7: - FAIL http://www.cpantesters.org/cpan/report/69cd34dc-9ea1-11e4-9235-15898971dd2f
I'm closing this ticket - I don't think you should have to implement an authors() sub here - instead, Acme::CPANAuthors::look_for should check $package->can('authors') before calling it.
On 2015-01-17 18:59:04, ETHER wrote: Show quoted text
> I'm closing this ticket - I don't think you should have to implement > an authors() sub here - instead, Acme::CPANAuthors::look_for should > check $package->can('authors') before calling it.
I opened this instead: https://rt.cpan.org/Ticket/Display.html?id=101597
Even though I closed this ticket, there should still be a new release of ::MBTI that has a bumped up dep on Acme::CPANAuthors, when it fixes #101597.
https://metacpan.org/release/ISHIGAKI/Acme-CPANAuthors-0.24 is out - please update ::MBTI with a bumped prereq on it - thanks!