POE::Filter::Ident -- A POE-based parser for the Ident protocol.
my $filter = POE::Filter::Ident->new(); my @events = @{$filter->get( [ @lines ] )};
POE::Filter::Ident takes lines of raw Ident input and turns them into weird little data structures, suitable for feeding to POE::Component::Client::Ident::Agent. They look like this:
{ name => 'event name', args => [ some info about the event ] }
new
Creates a new POE::Filter::Ident object. Takes no arguments.
get
Takes an array reference full of lines of raw Ident text. Returns an array reference of processed, pasteurized events.
put
There is no "put" method. That would be kinda silly for this filter, don't you think?
debug
Pass true/false value to enable/disable debugging information.
Dennis "fimmtiu" Taylor, <dennis@funkplanet.com>.
Hacked for Ident by Chris "BinGOs" Williams <chris@Bingosnet.co.uk>
Code for parsing the the Ident messages from Net::Ident by Jan-Pieter Cornet.
Copyright © Chris Williams, Dennis Taylor and Jan-Pieter Cornet.
This module may be used, modified, and distributed under the same terms as Perl itself. Please see the license that came with your Perl distribution for details.
Net::Ident
To install POE::Component::Client::Ident, copy and paste the appropriate command in to your terminal.
cpanm
cpanm POE::Component::Client::Ident
CPAN shell
perl -MCPAN -e shell install POE::Component::Client::Ident
For more information on module installation, please visit the detailed CPAN module installation guide.