TAP::Parser::SourceHandler::Handle



TAP::Parser::SourceHandler::Handle

NAME
VERSION
SYNOPSIS
DESCRIPTION
METHODS
SUBCLASSING
SEE ALSO

NAME

TAP::Parser::SourceHandler::Handle − Stream TAP from an IO::Handle or a GLOB.

VERSION

Version 3.23

SYNOPSIS

  use TAP::Parser::Source;
  use TAP::Parser::SourceHandler::Executable;
  my $source = TAP::Parser::Source−>new−>raw( \*TAP_FILE );
  $source−>assemble_meta;
  my $class = 'TAP::Parser::SourceHandler::Handle';
  my $vote  = $class−>can_handle( $source );
  my $iter  = $class−>make_iterator( $source );

DESCRIPTION

This is a raw TAP stored in an IO Handle TAP::Parser::SourceHandler class. It has 2 jobs:

1. Figure out if the TAP::Parser::Source it’s given is an IO::Handle or GLOB containing raw TAP output ("can_handle").

2. Creates an iterator for IO::Handle’s & globs ("make_iterator").

Unless you’re writing a plugin or subclassing TAP::Parser, you probably won’t need to use this module directly.

METHODS

Class Methods
"can_handle"

  my $vote = $class−>can_handle( $source );

Casts the following votes:

  0.9 if $source is an IO::Handle
  0.8 if $source is a glob

"make_iterator"

  my $iterator = $class−>make_iterator( $source );

Returns a new TAP::Parser::Iterator::Stream for the source.

"iterator_class"

The class of iterator to use, override if you’re sub-classing. Defaults to TAP::Parser::Iterator::Stream.

SUBCLASSING

Please see " SUBCLASSING " in TAP::Parser for a subclassing overview.

SEE ALSO

TAP::Object, TAP::Parser, TAP::Parser::Iterator, TAP::Parser::Iterator::Stream, TAP::Parser::IteratorFactory, TAP::Parser::SourceHandler, TAP::Parser::SourceHandler::Executable, TAP::Parser::SourceHandler::Perl, TAP::Parser::SourceHandler::File, TAP::Parser::SourceHandler::RawTAP



More Linux Commands

manpages/glColor4iv.3gl.html
glColor4iv(3gl) - set the current color - Linux manual page
The GL stores both a current single-valued color index and a current four-valued RGBA color. glColor sets a new four-valued RGBA color. glColor has two major va

manpages/recountdiff.1.html
recountdiff(1) - recompute patch counts and offsets.........
recountdiff recomputes the counts and offsets in unified context diffs. It does this in two passes: first the counts are corrected by inspection of the actual p

manpages/glTexParameteri.3gl.html
glTexParameteri(3gl) - set texture parameters (Man Page)....
Texture mapping is a technique that applies an image onto an objects surface as if the image were a decal or cellophane shrink-wrap. The image is created in tex

manpages/chrome.1.html
chrome(1) - the web browser from Google - Linux manual page
See the Google Chrome help center for help on using the browser. <http://www.no_google.com/support/chrome/> This manpage only describes invocation, environment,

manpages/pulse-cli-syntax.5.html
pulse-cli-syntax(5) PulseAudio Command Line Interface Syntax
PulseAudio provides a simple command line language used by configuration scripts, the pacmd interactive shell, and the modules module-cli and module-cli-protoco

manpages/win_wchstr.3ncurses.html
win_wchstr(3ncurses) - get an array of complex characters an
These functions return an array of complex characters in wchstr, starting at the current cursor position in the named window. Attributes (rendition) are stored

manpages/File::CheckTree.3pm.html
File::CheckTree(3pm) - run many filetest checks on a tree...
The validate() routine takes a single multiline string consisting of directives, each containing a filename plus a file test to try on it. (The file test may al

manpages/podofobox.1.html
podofobox(1) modify colors in a PDF file. - Linux man page
podofobox.1 - podofocolor is one of the command line tools from the PoDoFo library that provide several useful operations to work with colors in PDF files. It c

manpages/SP.3ncurses.html
numcodes(3ncurses) - curses terminfo global variables.......
This page summarizes variables provided by the curses librarys low-level terminfo interface. A more complete description is given in the curs_terminfo(3X) manua

manpages/close.n.html
close(n) - Close an open channel (Local - Linux man page)...
Closes or half-closes the channel given by channelId. ChannelId must be an identifier for an open channel such as a Tcl standard channel (stdin, stdout, or stde

manpages/intro.7.html
intro.7 - intro(7) - Introduction to overview, conventions, and miscel
Section 7 of the manual provides overviews on various topics, and describes conventions and protocols, character set standards, the standard filesystem layout,

manpages/mdeltree.1.html
mdeltree(1) - recursively delete an MSDOS directory and its
The mdeltree command is used to delete an MS-DOS file. Its syntax is: mdeltree [-v] msdosdirectory [msdosdirectories...] Mdeltree removes a directory and all th





We can't live, work or learn in freedom unless the software we use is free.