The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
# subclass for testing customizing & subclassing

package MyGrammar;

use strict;
use warnings;

use base qw( TAP::Parser::Grammar MyCustom );

sub _initialize {
    my $self = shift;
    $self->SUPER::_initialize(@_);
    $main::INIT{ ref($self) }++;
    $self->{initialized} = 1;
    return $self;
}

1;