IO::Framed::X::WriteError
use Try::Tiny; use IO::Framed::Write::Blocking; my $iof = IO::Framed::Write::Blocking->new( $some_socket ); try { $iof->write('blahblah') } catch { $_->get('OS_ERROR'); #gets $! $_->errno_is('EAGAIN'); #should always be false };
Thrown on write errors. Subclasses X::Tiny::Base.
To install IO::Framed, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IO::Framed
CPAN shell
perl -MCPAN -e shell install IO::Framed
For more information on module installation, please visit the detailed CPAN module installation guide.