Data::Stream::Bulk::FileHandle - read lines from a filehandle
Contents
Attributes
filehandle
A file handle that has been opened for reading. The stream will return lines from this file, one by
one.
Copyright And License
This software is copyright (c) 2012 by Yuval Kogman.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5
programming language system itself.
perl v5.32.0 2021-01-01 Data::Stream::Bulk::FileHandle(3pm)
Description
This provides a stream API for reading lines from a file.
Methods
get_more
See Data::Stream::Bulk::DoneFlag.
Returns the next line from the file, if it exists.
Name
Data::Stream::Bulk::FileHandle - read lines from a filehandle
Synopsis
use Data::Stream::Bulk::FileHandle;
use Path::Class;
my $s = Data::Stream::Bulk::FileHandle->new(
filehandle => file('foo.txt')->openr,
);
Version
version 0.11
