This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update Module-Build to CPAN version 0.3607
[perl5.git] / cpan / Test-Harness / t / lib / MyPerlSource.pm
1 # subclass for testing customizing & subclassing
2
3 package MyPerlSource;
4
5 use strict;
6 use vars '@ISA';
7
8 use MyCustom;
9 use TAP::Parser::Source::Perl;
10
11 @ISA = qw( TAP::Parser::Source::Perl MyCustom );
12
13 sub _initialize {
14     my $self = shift;
15     $self->SUPER::_initialize(@_);
16     $main::INIT{ ref($self) }++;
17     $self->{initialized} = 1;
18     return $self;
19 }
20
21 sub source {
22     my $self = shift;
23     return $self->SUPER::source(@_);
24 }
25
26 1;
27