
TAPx::Parser::Source::Perl - Stream Perl output

Version 0.50_07

Takes a filename and hopefully returns a stream from it. The filename should be the name of a Perl program.
Note that this is a subclass of TAPx::Parser::Source. See that module for more methods.

use TAPx::Parser::Source::Perl; my $perl = TAPx::Parser::Source::Perl->new; my $stream = $perl->source($filename)->get_stream;

newmy $perl = TAPx::Parser::Source::Perl->new;
Returns a new TAPx::Parser::Source::Perl object.
sourcemy $perl = $source->source; $perl->source($filename);
Getter/setter for the source filename. Will croak if the $filename does not appear to be a file.
switchesmy $switches = $perl->switches; my @switches = $perl->switches; $perl->switches(\@switches);
Getter/setter for the additional switches to pass to the perl executable. One common switch would be to set an include directory:
$perl->switches('-Ilib');