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 ] }
Creates a new POE::Filter::Ident object. Takes no arguments.
Takes an array reference full of lines of raw Ident text. Returns an array reference of processed, pasteurized events.
There is no \*(L"put\*(R" method. That would be kinda silly for this filter, don't you think?
Pass true/false value to enable/disable debugging information.
Dennis \*(L"fimmtiu\*(R" Taylor, <[email protected]>.
Hacked for Ident by Chris \*(L"BinGOs\*(R" Williams <[email protected]>
Code for parsing the the Ident messages from Net::Ident by Jan-Pieter Cornet.
Net::Ident