You are viewing the version of this documentation from Perl 5.40.1. View the latest version

CONTENTS

NAME

TAP::Parser::SourceHandler::Executable - Stream output from an executable TAP source

VERSION

Version 3.48

SYNOPSIS

use TAP::Parser::Source;
use TAP::Parser::SourceHandler::Executable;

my $source = TAP::Parser::Source->new->raw(['/usr/bin/ruby', 'mytest.rb']);
$source->assemble_meta;

my $class = 'TAP::Parser::SourceHandler::Executable';
my $vote  = $class->can_handle( $source );
my $iter  = $class->make_iterator( $source );

DESCRIPTION

This is an executable TAP::Parser::SourceHandler - it has 2 jobs:

1. Figure out if the TAP::Parser::Source it's given is an executable command ("can_handle").

2. Creates an iterator for executable commands (