pm::Loudmouth(3pm)

πŸ’– pm::Loudmouth(3pm) πŸ’–

okay so bestie, welcome to pm::Loudmouth(3pm) β€” straight outta the User Contributed Perl Documentation section. it's perl docs, it's giving "I read the whole thing so you don't have to", and honestly? iconic. let's go πŸ¦‹


✨ NAME ✨

Net::Jabber::Loudmouth β€” it's a Perl interface for the loudmouth jabber library. that's the whole vibe, no cap πŸ’…


🌸 SYNOPSIS 🌸

here's the lil taste test, copy-paste it and you're basically a wizard:

use Net::Jabber::Loudmouth;

my $connection = Net::Jabber::Loudmouth::Connection->new("server");
$connection->open_and_block();
$connection->authenticate_and_block("username", "password", "resource");

my $m = Net::Jabber::Loudmouth::Message->new("recipient", 'message');
$m->get_node->add_child("body", "message");

$connection->send($m);

like… she's doing it all in seven lines. main character energy fr fr πŸ‘‘


πŸ’œ DESCRIPTION πŸ’œ

so Net::Jabber::Loudmouth is a perl interface for libloudmouth, the Lightweight C Jabber library. you get to do all the same stuff you'd do with Net::Jabber, except the interface is nicer and it's much faster, because most of the actual code is written in C. so like, the C is doing the heavy lifting and you're just here looking cute and calling methods πŸŽ€βœ¨


πŸ”₯ FUNCTIONS πŸ”₯

Net::Jabber::Loudmouth literally only contains two functions. that's it. that's the whole bag. everything else you might be looking for lives over in Net::Jabber::Loudmouth::* β€” go check those, iykyk πŸ’«

🫢 default_port

Net::Jabber::Loudmouth->default_port()

returns the default port that gets used for every connection. that's it, no arguments, no drama, just a port bestie πŸ’…

🧚 default_port_ssl

Net::Jabber::Loudmouth->default_port_ssl()

returns the default ssl port. and like, if you wanna tell a connection "hey babe use the ssl port", you do:

$connection->set_port(Net::Jabber::Loudmouth->default_port_ssl())

and boom, ssl port, slay. see Net::Jabber::Loudmouth::Connection for the deets ✨


🌈 SEE ALSO 🌈

go be nosy, these are your girls:

  • Net::Jabber::Loudmouth::Connection
  • Net::Jabber::Loudmouth::Message
  • Net::Jabber::Loudmouth::MessageHandler
  • Net::Jabber::Loudmouth::MessageNode
  • Net::Jabber::Loudmouth::SSL
  • Net::Jabber::Loudmouth::Proxy

πŸ‘‘ AUTHOR πŸ‘‘

Florian Ragwitz, <rafl@debian.org> β€” thank you king, we stan πŸ«‘πŸ’–


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.

periodt. free software, same terms as Perl, either 5.8.7 or whatever later Perl 5 you've got lying around. no stress, no strings πŸ’…

and that's a wrap on this one girlies πŸŽ€ this page was served up by perl v5.42.3 on 2026-08-20 β€” mwah, bye bestie πŸŒΈπŸ’–πŸ¦‹

πŸ“¦ where this page comes from