Net::Inspect::L5::NoData - handles empty connections
my $guess = Net::Inspect::L5::GuessProtocol->new; my $null = Net::Inspect::L5::NoData->new; $guess->attach($null);
This class is usually used together with Net::Inspect::L5::GuessProtocol to detect and ignore empty connections. It provides a guess_protocol method which returns a new object if the connection is closed and no data were transferred.
guess_protocol
To install Net::Inspect, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Inspect
CPAN shell
perl -MCPAN -e shell install Net::Inspect
For more information on module installation, please visit the detailed CPAN module installation guide.