diff options
author | Steve Hay <steve.m.hay@googlemail.com> | 2016-06-28 14:01:47 +0100 |
---|---|---|
committer | Steve Hay <steve.m.hay@googlemail.com> | 2016-06-28 14:01:47 +0100 |
commit | 35014935159564940825397b43157b99208639f4 (patch) | |
tree | e143965f52f6303931fa5f628da0a8a96604a96b /cpan/Test-Simple/lib/Test2/Hub.pm | |
parent | 4af080e17c75177da18080e5e66cbdb45c802731 (diff) | |
download | perl-35014935159564940825397b43157b99208639f4.tar.gz |
Upgrade Test::Simple from version 1.302026 to 1.302035
Diffstat (limited to 'cpan/Test-Simple/lib/Test2/Hub.pm')
-rw-r--r-- | cpan/Test-Simple/lib/Test2/Hub.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cpan/Test-Simple/lib/Test2/Hub.pm b/cpan/Test-Simple/lib/Test2/Hub.pm index 0b0d33bcfe..40b6c193cf 100644 --- a/cpan/Test-Simple/lib/Test2/Hub.pm +++ b/cpan/Test-Simple/lib/Test2/Hub.pm @@ -2,7 +2,7 @@ package Test2::Hub; use strict; use warnings; -our $VERSION = '1.302026'; +our $VERSION = '1.302035'; use Carp qw/carp croak confess/; @@ -83,6 +83,10 @@ sub inherit { push @{$self->{+_LISTENERS}} => grep { $_->{inherit} } @$ls; } + if (my $pfs = $from->{+_PRE_FILTERS}) { + push @{$self->{+_PRE_FILTERS}} => grep { $_->{inherit} } @$pfs; + } + if (my $fs = $from->{+_FILTERS}) { push @{$self->{+_FILTERS}} => grep { $_->{inherit} } @$fs; } |