This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Upgrade Test::Harness from version 3.28 to 3.29
[perl5.git] / cpan / Test-Harness / t / lib / MyGrammar.pm
CommitLineData
f7c69158
NC
1# subclass for testing customizing & subclassing
2
3package MyGrammar;
4
5use strict;
befb5359 6use warnings;
f7c69158 7
befb5359 8use parent qw( TAP::Parser::Grammar MyCustom );
f7c69158
NC
9
10sub _initialize {
11 my $self = shift;
12 $self->SUPER::_initialize(@_);
13 $main::INIT{ ref($self) }++;
14 $self->{initialized} = 1;
15 return $self;
16}
17
181;