Net::MQ...:Publish(3)
π 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 π«Ά
π COPYRIGHT AND LICENSE
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
- alpine 3.24: perl-net-mqtt-doc 1.163170-r1 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms