POE::F...:Ident(3pm)

πŸ“¦
version 1.16 Β· 4 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– POE::Filter::Ident πŸ’–

okay bestie, so this page is POE::Filter::Ident(3pm) from the User Contributed Perl Documentation, and it's literally the cutest little Ident parser you've ever met. come sit with me, we're doing this together 🫢


✨ NAME ✨

POE::Filter::Ident β€” a POE-based parser for the Ident protocol. yes, the whole thing. it parses Ident. that's the vibe. πŸ’…


✨ SYNOPSIS ✨

so like, this is the whole entire usage right here, no cap:

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

that's it. that's the girl. 🌸


✨ DESCRIPTION ✨

okay so here's the tea: POE::Filter::Ident takes lines of raw Ident input and turns them into these weird little data structures. and when I say weird little data structures I mean weird little data structures β€” they're built to be fed straight into POE::Component::Client::Ident::Agent, so like, that's their whole purpose in life. main character energy honestly. πŸ‘‘

they look exactly like this, no deviation:

    { name => 'event name', args => [ some info about the event ] }

name is the event name, args is an arrayref with some info about the event. slay. ✨


πŸŽ€ CONSTRUCTOR πŸŽ€

  • new β€” creates a brand new POE::Filter::Ident object for you. takes no arguments. zero. none. it just exists, effortlessly. πŸ’…

🌈 METHODS 🌈

  • get β€” hand it an array reference full of lines of raw Ident text, and it hands you back an array reference of processed, pasteurized events. yes, pasteurized, that's the word they used, we're keeping it, it's iconic. πŸ₯›βœ¨
  • put β€” okay so… there is no put method. it doesn't exist. and honestly? that would be kinda silly for this filter, don't you think? 😭 so don't go looking for it bestie, she's not there.
  • debug β€” pass a true/false value to enable or disable debugging information. true = yapping, false = quiet. that simple. πŸ¦‹

πŸ’œ 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.

(yes it says "the the", that's how it was written, we don't edit the queens 🫑)


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

so basically: go off, use it, remix it, ship it β€” just check your Perl distribution's license for the fine print, bestie. πŸ“œπŸ’–

⭐ SEE ALSO ⭐

  • Net::Ident

and that's the whole page, fr fr. this was POE::Filter::Ident(3pm) from the User Contributed Perl Documentation, and the footer vibes were perl v5.36.0, dated 2022-12-04. periodt. πŸ’…πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from