The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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.