---
name: "Data::Stream::Bulk::FileHandle"
section: "3pm"
platform: "linux"
package: "libdata-stream-bulk-perl"
version: "0.11-1.1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Data::Stream::Bulk::FileHandle"
---

# Data::Stream::Bulk::FileHandle(3pm)

read lines from a filehandle

## NAME

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

## VERSION

version 0.11

## SYNOPSIS

```
  use Data::Stream::Bulk::FileHandle;
  use Path::Class;
  my $s = Data::Stream::Bulk::FileHandle->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.

  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.
