IO::Framed::X::EmptyWrite
use Try::Tiny; use IO::Framed::Write; my $iof = IO::Framed::Write->new( $some_socket ); try { $iof->write(q<>) } catch { if ( try { $_->isa('IO::Framed::Read') } ) { ... } };
Thrown when empty string or undef is given to write().
write()
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.