IO::Handle::Prototype - 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.
To install IO::Handle::Util, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IO::Handle::Util
CPAN shell
perl -MCPAN -e shell install IO::Handle::Util
For more information on module installation, please visit the detailed CPAN module installation guide.