1 # subclass for testing customizing & subclassing
3 package MyPerlSourceHandler;
9 use TAP::Parser::IteratorFactory;
10 use TAP::Parser::SourceHandler::Perl;
12 @ISA = qw( TAP::Parser::SourceHandler::Perl MyCustom );
14 TAP::Parser::IteratorFactory->register_handler(__PACKAGE__);
18 my $vote = $class->SUPER::can_handle(@_);
19 $vote += 0.1 if $vote > 0; # steal the Perl handler's vote