Skip Menu |

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

Report information
The Basics
Id: 83103
Status: resolved
Priority: 0/
Queue: Module-Info

People
Owner: NEILB [...] cpan.org
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

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



Subject: [PATCH] test failing with 5.6.2 with newer modules
I just discovered that Module-Info.t fails nowadays with perl 5.6.2 if the user has upgraded a few of the modules in the core like strict and vars. I attach a simple patch to correct the test. I really appreaciate the Module::Info interface and would be glad to have it available when I (occasionally) dig into 5.6. Hope you like it! If not, it's not a big deal (I have rated Unimportant already) Thanks,
Subject: Module-Info-0.32-5.6.2.diff
--- t/Module-Info.t~ 2013-02-02 21:37:11.061456489 +0100 +++ t/Module-Info.t 2013-02-02 21:47:24.644286795 +0100 @@ -96,7 +96,8 @@ my @mods = $mod_info->modules_used; my @expected = qw(strict File::Spec Config Carp IPC::Open3 vars Safe); - push @expected, 'Exporter' if $] < 5.008; + push @expected, 'Exporter' if grep /^Exporter$/, @mods; + # many old versions of these modules loaded the Exporter: is( @mods, @expected, 'Found all modules used' ); is_deeply( [sort @mods], [sort @expected], ' the right ones' );
Thanks, applied!
From: paul [...] city-fan.org
On Sat Feb 09 14:42:28 2013, MBARBON wrote: Show quoted text
> Thanks, applied!
A couple of little issues with 0.33: * META.yml has "author: ARRAY(0x1009adfe8)" * Need to add Text::Soundex as a build prereq as the test suite fails if it's not present
Dealt with in previous release(s), so closing.