---
name: "IO::Handle::Prototype"
section: "3pm"
platform: "linux"
package: "libio-handle-util-perl"
version: "0.02-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/IO::Handle::Prototype"
---

# IO::Handle::Prototype(3pm)

base class for callback based handles.

## NAME

IO::Handle::Prototype - base class for callback based handles.

## SYNOPSIS

```
    my $fh = IO::Handle::Prototype->new(
        getline => sub {
            my $fh = shift;
            ...
        },
    );
```

## DESCRIPTION

You probably want IO::Handle::Prototype::Fallback instead.
