POE::Filter::IRC(3pm)
π POE::Filter::IRC β bestie edition π
okay so this is POE::Filter::IRC, a page from the User Contributed Perl Documentation section (yes that's the manual name, it's giving β¨community-maintainedβ¨). sit down, grab a strawberry π, and let's talk about parsing IRC like it's our personality.
β¨ NAME β¨
POE::Filter::IRC β a POE-based parser for the IRC protocol π¦
β¨ SYNOPSIS β¨
my $filter = POE::Filter::IRC->new();
my @events = @{ $filter->get( [ @lines ] ) };
that's it. that's the whole vibe. two lines and you're parsing IRC. iconic behavior honestly π
β¨ DESCRIPTION β¨
so what does POE::Filter::IRC actually do? it takes lines of raw IRC input and turns them into weird little data structures β ngl they are kind of odd-looking, but they're built to be fed straight into POE::Component::IRC, so it's fine, it's on purpose π
they look like this:
{ name => 'event name', args => [ some info about the event ] }
a hashref with a name and an args array. simple. clean. slay π
π’ lowkey important lore: this module was long deprecated in POE::Component::IRC. it now uses the same mechanism that that uses to parse IRC text. so if you were feeling nostalgic β it's giving legacy, bestie, we've moved on (but the filter still works, don't panic π«Ά).
π CONSTRUCTOR π
β¨ new β¨
calling new returns a new POE::Filter::Stackable object that contains both a POE::Filter::IRCD object and a POE::Filter::IRC::Compat object. π
basically: it's a two-in-one combo deal, and it does the same job that POE::Filter::IRC used to do all by itself. glow-up era β¨ the filter got a squad and the whole thing just works. periodt.
β¨ METHODS β¨
the methods live in the docs for POE::Filter::IRCD and POE::Filter::IRC::Compat β so go read those, bestie, they've got the details. this page is just the doorway πͺπ«
πΈ AUTHOR πΈ
Dennis "fimmtiu" Taylor
refactoring by Chris "BinGOs" Williams <chris@bingosnet.co.uk> π«Ά
π SEE ALSO π
the documentation for POE and POE::Component::IRC.
POE::Filter::Stackable
POE::Filter::IRCD
POE::Filter::IRC::Compat
that's the whole page, no notes π
and for the record: this was perl v5.40.1, dated 2025-08-21, served up in the POE::Filter::IRC(3pm) manual. go forth and parse some IRC, bestie, you're so main character for reading manpages fr fr π¦β¨π
π¦ where this page comes from
- ubuntu resolute: libpoe-component-irc-perl 6.95+dfsg-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libpoe-component-irc-perl 6.95+dfsg-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms