From: Chris Williams Date: Sat, 12 Sep 2009 12:14:56 +0000 (+0100) Subject: Update parent to CPAN version 0.223 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b4475de85f058d8aa4ff9f06992780c92a844452;p=p5sagit%2Fp5-mst-13.2.git Update parent to CPAN version 0.223 From Changes: 0.223 20090901 . No functional changes, no need to upgrade + Fix Makefile.PL so that (re)installing parent under 5.10.1+ installs into perl/ instead of site/, patched by J.D.Hedden fixes RT #49328 0.222 20090828 . No functional changes, no need to upgrade + Documentation fix suggested by Clinton Gormley + Test fix for Perl compiled without PMC support, spotted and fixed by Nicholas Clark + Distribution changes to placate Module::Release --- diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl index 695491d..9538190 100755 --- a/Porting/Maintainers.pl +++ b/Porting/Maintainers.pl @@ -1127,7 +1127,7 @@ use File::Glob qw(:case); 'parent' => { 'MAINTAINER' => 'corion', - 'DISTRIBUTION' => 'CORION/parent-0.221.tar.gz', + 'DISTRIBUTION' => 'CORION/parent-0.223.tar.gz', 'FILES' => q[ext/parent], 'CPAN' => 1, 'UPSTREAM' => undef, diff --git a/ext/parent/lib/parent.pm b/ext/parent/lib/parent.pm index 435ff25..a18526b 100644 --- a/ext/parent/lib/parent.pm +++ b/ext/parent/lib/parent.pm @@ -1,7 +1,7 @@ package parent; use strict; use vars qw($VERSION); -$VERSION = '0.221'; +$VERSION = '0.223'; sub import { my $class = shift; @@ -71,7 +71,7 @@ This is equivalent to the following code: sub exclaim { "I CAN HAS PERL" } package DoesNotLoadFooBar; - push @DoesNotLoadFooBar::ISA, 'Foo'; + push @DoesNotLoadFooBar::ISA, 'Foo', 'Bar'; This is also helpful for the case where a package lives within a differently named file: diff --git a/ext/parent/t/parent-pmc.t b/ext/parent/t/parent-pmc.t index 1b544c8..851a438 100644 --- a/ext/parent/t/parent-pmc.t +++ b/ext/parent/t/parent-pmc.t @@ -9,9 +9,12 @@ BEGIN { use strict; use Test::More; +use Config; use lib 't/lib'; plan skip_all => ".pmc are only available with 5.6 and later" if $] < 5.006; +plan skip_all => ".pmc are disabled in this perl" + if $Config{ccflags} =~ /(? 3; use vars qw($got_here);