Net::MQ...:Publish(3)

πŸ“¦ version 1.163170, in alpine 3.24

πŸ’Œ Net::MQTT::Message::Publish β€” NAME

okay so bestie, this is Net::MQTT::Message::Publish β€” a Perl module that represents an MQTT Publish message πŸŽ€ and honestly? that's the whole vibe. It's filed in the User Contributed Perl Documentation section of the manual, which is exactly where you'd expect to find it πŸ’…


🌸 VERSION

version 1.163170 ✨ (yes, that's the real number, no I did not make it up)


πŸ¦‹ SYNOPSIS

  # instantiated by Net::MQTT::Message

That's it, that's the whole synopsis β€” you don't call it yourself, bestie, it gets summoned by Net::MQTT::Message 🧚


πŸ‘‘ DESCRIPTION

So this module encapsulates a single MQTT Publish message β€” like, one singular message, wrapped up all cozy πŸ’–

It's a specific subclass, the one that gets used by Net::MQTT::Message, and the docs are very clear about this: you should not need to instantiate it directly. It's giving backstage-pass-only energy. Let the parent module handle it, fr fr πŸ™ˆ


πŸ’œ METHODS

topic()

Returns the topic field of the MQTT Publish message 🎯 iykyk

message_id()

Returns the message id field of the MQTT Publish message 🏷️

message()

Returns the message field of the MQTT Publish message πŸ“¨ the actual payload, the main character of the whole thing, lowkey


⭐ AUTHOR

Mark Hindess <soft-cpan@temporalanomaly.com> β€” shoutout to the icon who wrote this 🫢


This software is copyright (c) 2014 by Mark Hindess.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself πŸ”₯ (so like, same rules as Perl 5 itself, periodt)


πŸ’€ quick recap bestie: don't instantiate this one directly, let Net::MQTT::Message do it, and remember β€” every detail above is load-bearing. no cap.

and that's the page! documented by perl v5.42.2 on 2026-02-15, signed off with a little πŸŽ€ and a big kiss β€” Net::MQTT::Message::Publish(3), mwah πŸ’‹

πŸ“¦ where this page comes from