# phpman > man > Data::Stream::Bulk::FileHandle(3pm)

## NAME
    [Data::Stream::Bulk::FileHandle](https://www.chedong.com/phpMan.php/perldoc/Data%3A%3AStream%3A%3ABulk%3A%3AFileHandle/markdown) - read lines from a filehandle

## VERSION
    version 0.11

## SYNOPSIS
      use [Data::Stream::Bulk::FileHandle](https://www.chedong.com/phpMan.php/perldoc/Data%3A%3AStream%3A%3ABulk%3A%3AFileHandle/markdown);
      use [Path::Class](https://www.chedong.com/phpMan.php/perldoc/Path%3A%3AClass/markdown);

      my $s = [Data::Stream::Bulk::FileHandle](https://www.chedong.com/phpMan.php/perldoc/Data%3A%3AStream%3A%3ABulk%3A%3AFileHandle/markdown)->new(
          filehandle => file('foo.txt')->openr,
      );

## DESCRIPTION
    This provides a stream API for reading lines from a file.

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

## METHODS
    get_more
        See [Data::Stream::Bulk::DoneFlag](https://www.chedong.com/phpMan.php/perldoc/Data%3A%3AStream%3A%3ABulk%3A%3ADoneFlag/markdown).

        Returns the next line from the file, if it exists.

## AUTHOR
    Yuval Kogman <<nothingmuch@woobling.org>>

## 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.

