Net::MQ...ubscribe(3)
π Net::MQTT::Message::Subscribe(3)
okay so bestie, real talk: you're looking at a page from the User Contributed Perl Documentation and the star of the show is Net::MQTT::Message::Subscribe β the Perl module that literally is an MQTT Subscribe message. it's giving "small but crucial", it's giving "supporting cast energy" π
β¨ VERSION β¨
version 1.163170 β that's the one, that's the whole vibe π¦
πΈ SYNOPSIS πΈ
# instantiated by Net::MQTT::Message
that's it. that's the synopsis. she's short, she's mysterious, she's not for you to build yourself π
π DESCRIPTION π
so this module encapsulates a single MQTT Subscribe message. literally one. it's a specific subclass used by Net::MQTT::Message, which means β and hear me on this β you should not need to instantiate it directly π like, it's not that kind of module, it's got a job and it's doing it for the parent module, okurrr?
β METHODS β
π«Ά message_id()
returns the message id field of the MQTT Subscribe message.
that's it. that's the method. icon behavior honestly π
π«Ά topics()
returns the list of topics of the MQTT Subscribe message π¦
and here's the part you actually need to remember, bestie: each element of the list is a 2-ple containing the topic and its associated requested QoS level. so it's not just a list of topics, it's topics-with-their-QoS-energy, paired up, two at a time, no cap β¨
π AUTHOR π
Mark Hindess <soft-cpan@temporalanomaly.com> β we stan a legend who gave us 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. fr fr, that's the same terms as Perl 5 itself, so go off π
and that's the page, bestie π this little beauty came from perl v5.42.2 and it's dated 2026-02-15 β go forth and subscribe to some topics πΈππ¦
π¦ 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