1Data::Stream::Bulk::FilUesHearndCloen(t3r)ibuted Perl DoDcautmae:n:tSattrieoanm::Bulk::FileHandle(3)
2
3
4
6 Data::Stream::Bulk::FileHandle - read lines from a filehandle
7
9 version 0.11
10
12 use Data::Stream::Bulk::FileHandle;
13 use Path::Class;
14
15 my $s = Data::Stream::Bulk::FileHandle->new(
16 filehandle => file('foo.txt')->openr,
17 );
18
20 This provides a stream API for reading lines from a file.
21
23 filehandle
24 A file handle that has been opened for reading. The stream will
25 return lines from this file, one by one.
26
28 get_more
29 See Data::Stream::Bulk::DoneFlag.
30
31 Returns the next line from the file, if it exists.
32
34 Yuval Kogman <nothingmuch@woobling.org>
35
37 This software is copyright (c) 2012 by Yuval Kogman.
38
39 This is free software; you can redistribute it and/or modify it under
40 the same terms as the Perl 5 programming language system itself.
41
42
43
44perl v5.32.0 2020-07-28 Data::Stream::Bulk::FileHandle(3)