Data::Stream::Bulk::FileHandle - read lines from a filehandle
version 0.11
use Data::Stream::Bulk::FileHandle; use Path::Class; my $s = Data::Stream::Bulk::FileHandle->new( filehandle => file('foo.txt')->openr, );
This provides a stream API for reading lines from a file.
A file handle that has been opened for reading. The stream will return lines from this file, one by one.
See Data::Stream::Bulk::DoneFlag.
Returns the next line from the file, if it exists.
Yuval Kogman <nothingmuch@woobling.org>
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.
To install Data::Stream::Bulk, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Stream::Bulk
CPAN shell
perl -MCPAN -e shell install Data::Stream::Bulk
For more information on module installation, please visit the detailed CPAN module installation guide.