logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Data::Stream::Bulk::FileHandle - read lines from a filehandle

Attributes

       filehandle
           A  file  handle that has been opened for reading. The stream will return lines from this file, one by
           one.

Author

       Yuval Kogman <nothingmuch@woobling.org>

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

See Also