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

πŸ’– NAME πŸ’–

Net::Jabber::Loudmouth::MessageNode β€” literally just a Jabber message node, bestie ✨ that's the whole vibe. It's part of the User Contributed Perl Documentation, and yes she's iconic for it.


🌸 HIERARCHY 🌸

Okay so the family tree goes like this, and it's giving royal lineage fr fr:

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

So she's a Glib::Boxed girlie at her core, and everything else is her own main character era πŸ’…


✨ METHODS ✨

This is where the magic happens, no cap. Every single one of these is listed below, so don't skip, we don't do skipping in this house 🫢

πŸŽ€ messagenode = $node->add_child ($name, $value=undef)

Spawns a new child node and hands it back to you. Here's what you gotta feed her:

  • $name (string)
  • $value (string)

πŸ¦‹ string = $node->get_attribute ($name)

Gives you back the attribute, as a string. Takes:

  • $name (string)

πŸ“ $node->set_attribute ($name, $value)

Sets one single attribute. Takes:

  • $name (string)
  • $value (string)

🌈 $node->set_attributes (...)

Sets a whole bunch of attributes at once, because why do one when you can do the most. Takes:

  • ... (list)

πŸ’œ messagenode = $node->get_child_by_name ($child_name)

Finds you a child node by its name. Takes:

  • $child_name (string)

πŸ‘‘ messagenode = $node->get_child and messagenode = $node->find_child ($child_name)

Two icons, one little section. get_child takes nothing at all (unbothered, moisturized, in her own lane). find_child takes:

  • $child_name (string)

🌸 string = $node->get_name and $node->set_name ($name)

Read the name, write the name. The set_name version takes:

  • $name (string)

🧚 messagenode = $node->get_next, messagenode = $node->get_parent, messagenode = $node->get_prev

The whole friend group right here β€” the next one, the parent one, and the prev one. Three separate calls, three separate nodes returned. Nothing to pass in, they just know. πŸ’«

πŸ’€ boolean = $node->get_raw_mode and $node->set_raw_mode ($raw_mode)

Turn raw mode on or off, and check what she's currently on. The setter takes:

  • $raw_mode (boolean)

⭐ string = $node->to_string, string = $node->get_value, and $node->set_value ($value)

The trifecta: stringify the whole node, read the value, or set a new value. The setter takes:

  • $value (string)

πŸ”₯ SEE ALSO πŸ”₯

Go be nosy elsewhere too, bestie, these two are right there:

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


Okay that's the whole page, bestie, you ate that 🫢 This was perl v5.42.3 doing her thing on 2026-08-20, and the manual name was Net::J...ageNode(3pm) β€” the truncated little legend herself. Periodt. βœ¨πŸ’–

πŸ“¦ where this page comes from