Net::J...andler(3pm)

πŸ’– NAME πŸ’–

ok so bestie, this is Net::Jabber::Loudmouth::MessageHandler β€” it's literally a Jabber message handler ✨. And yes, the whole page you're reading is a perl man page (3pm), a user-contributed Perl doc, so you already know the vibes are immaculate 🫢


🌈 HIERARCHY 🌈

the family tree goes like this, no cap:

Glib::Boxed
+----Net::Jabber::Loudmouth::MessageHandler

so Net::Jabber::Loudmouth::MessageHandler is a child of Glib::Boxed β€” it inherits all that boxed energy πŸ’…


✨ METHODS ✨

πŸŽ€ messagehandler = Net::Jabber::Loudmouth::MessageHandler->new ($handler_cb, $user_data=undef)

okay so this is the constructor, the main character moment 🫢 you call <bold>new</bold> on the class and you get back a $messagehandler object. here's what you hand it:

  • $handler_cb β€” a scalar (yes really, just a scalar) 🌸
  • $user_data β€” also a scalar, and it defaults to undef if you don't pass it πŸ¦‹

so like, you can just pass the callback, and $user_data will be undef, and that's totally valid bestie πŸ’œ


🧚 $handler->invalidate

call this on your handler and it gets invalidated. iconic. do with that what you will ✨


πŸ’€ boolean = $handler->is_valid

this one tells you if your handler is still valid β€” it hands you back a boolean, so like, true or false, periodt πŸ‘‘


🌸 SEE ALSO 🌸

go check these out, they're the friends of this module, fr fr:

  • Net::Jabber::Loudmouth
  • Glib::Boxed

Copyright (C) 2005 by Florian Ragwitz

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available.

so basically: free software, same terms as Perl itself, Perl 5.8.7 or any later version of Perl 5 that you happen to have lying around πŸ’– slay.

and that's the whole page bestie!! this was rendered by perl v5.42.3 on 2026-08-20 πŸ¦‹ ty for reading, mwah πŸ’…βœ¨

πŸ“¦ where this page comes from