POE::C...ookbook(3pm)
π POE::C...ookbook(3pm) π
okay bestie, gather round, this is the PoCo-IRC Cookbook (the manual page is literally called POE::C...ookbook(3pm), no I will not be explaining the ellipsis, it's giving mystery π
) and it lives in the User Contributed Perl Documentation section. it's the overview page. it's a whole vibe.
β¨ NAME β¨
POE::Component::IRC::Cookbook β The PoCo-IRC Cookbook: Overview π
πΈ DESCRIPTION πΈ
okay so POE::Component::IRC is a fully event-driven IRC client module, and it's built around POE. that means you can write IRC client applications of any kind. literally any kind. the range? unmatched. π
and this cookbook? it's full of working examples of programs showing off what POE::Component::IRC can actually do. real code, real demos, real slay. π₯
β οΈ heads up bestie: this is a work in progress. the entries that don't have hyperlinks? those are recipes that haven't been written yet. unwritten. not there. don't go looking for them and then come back mad at me. π
π RECIPES π
π General
- Disconnecting β shows you how to disconnect gracefully. like, exit the chat with dignity. no dramatic IRC door slam. πͺβ¨
π¦ Bots
- A basic bot β a basic bot demonstrating the basics of PoCo-IRC. the little starter bot that could. π«Ά
- Translator β add translating capabilities to your bot. your bot now speaks every language, multilingual queen. π
- Resolver β have your bot resolve DNS records for you. it's doing the networking so you don't have to. π
- MegaHAL β allow your bot to talk, using artificial "intelligence". yes, scare quotes included. the quotes are the original's, and honestly? they're earned. π
- Seen β implement the
"seen"feature found in so many bots β the one that tells you when your bot last saw a particular user, and what they were doing/saying. the surveillance feature we all agreed to pretend is cute. πΈ - Reload β structure your code so your bot can be reprogrammed at runtime without reconnecting to the IRC server. glow-up without the logout. π
- Feeds β use your bot as an RSS/Atom feed aggregator. news, but make it bot. π°
- Reminder β have your bot remind you about something at a later time. it never forgets. it's the friend who actually remembers your birthday. π
- Messenger β have your bot deliver messages to users as soon as they become active. instant delivery, the moment they show up. π
- Eval β have your bot evaluate mathematical expressions and code. math girlies rise UP. β
π Clients
- Gtk2 β a simple IRC client with a Gtk2 interface. graphical, clickable, gorgeous. π₯οΈ
- ReadLine β a simple IRC client with a ReadLine interface. terminal dwelling, keyboard girlies, this one's for us. β¨οΈ
π AUTHOR π
Hinrik Γrn SigurΓ°sson, hinrik.sig@gmail.com π
okay that's the whole page, you're caught up, you ate, no crumbs left. π«Ά
this was POE::C...ookbook(3pm) as shipped in perl v5.40.1, dated 2025-08-21 β love that for us, timestamped and iconic β¨ bye bestie π
π¦ 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