logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

POE::Filter::Ident -- A POE-based parser for the Ident protocol.

Author

       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.

Constructor

       "new"
           Creates a new POE::Filter::Ident object. Takes no arguments.

Description

       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 ] }

License

       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.

Methods

       "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.

Name

       POE::Filter::Ident -- A POE-based parser for the Ident protocol.

See Also

       Net::Ident

perl v5.36.0                                       2022-12-04                            POE::Filter::Ident(3pm)

Synopsis

           my $filter = POE::Filter::Ident->new();
           my @events = @{$filter->get( [ @lines ] )};

See Also