IO::Handle::Prototype
base class for callback based handles.
- Provided by: libio-handle-util-perl (Version: 0.01-1)
- Report a bug
base class for callback based handles.
my $fh = IO::Handle::Prototype->new(
getline => sub {
my $fh = shift;
...
},
);
You probably want IO::Handle::Prototype::Fallback instead.