Net::MQ...ubscribe(3)

πŸ“¦ version 1.163170, in alpine 3.24

πŸ’… 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 πŸ’œ


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