|
NAMETest2::Harness::Util::File::Stream - Utility class for manipulating a file that serves as an output stream.DESCRIPTIONSubclass of Test2::Harness::File that streams the contents of a file, even if the file is still being written.SYNOPSISuse Test2::Harness::Util::File::Stream; my $stream = Test2::Harness::Util::File::Stream->new(name => 'path/to/file'); # Read some lines my @lines = $stream->poll; ... # Read more lines, if any. push @lines => $stream->poll; ATTRIBUTESSee Test2::Harness::File for additional attributes.These can be passed in as construction arguments if desired.
METHODSSee Test2::Harness::File for additional methods.
SOURCEThe source code repository for Test2-Harness can be found at http://github.com/Test-More/Test2-Harness/.MAINTAINERS
AUTHORS
COPYRIGHTCopyright 2020 Chad Granum <exodist7@gmail.com>.This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://dev.perl.org/licenses/
Visit the GSP FreeBSD Man Page Interface. |