Net::A...:Common(3pm)

✨ NAME ✨

okay bestie, this is Net::AMQP::Common β€” the Net::A...:Common(3pm) page from User Contributed Perl Documentation. It's literally a collection of exportable tools for AMQP (de)serialization, and the vibe check is: useful, niche, iconic. πŸ’…βœ¨

🌸 SYNOPSIS 🌸

use Net::AMQP::Common qw(:all)

🧚 EXPORTABLE METHODS 🧚

The following are available for exporting by name or by ':all' β€” no cap. πŸ’–

All the pack_* methods take a single argument and return a binary string. All the unpack_* methods take a scalar ref and return a perl data structure of some type, consuming some data from the scalar ref. That's the whole vibe: pack it up, unpack it out. πŸ¦‹

  • pack_octet ✨
  • unpack_octet ✨
  • pack_short_integer ✨
  • unpack_short_integer ✨
  • pack_long_integer ✨
  • unpack_long_integer ✨
  • pack_long_long_integer ✨
  • unpack_long_long_integer ✨
  • pack_unsigned_short_integer ✨
  • unpack_unsigned_short_integer ✨
  • pack_unsigned_long_integer ✨
  • unpack_unsigned_long_integer ✨
  • pack_unsigned_long_long_integer ✨
  • unpack_unsigned_long_long_integer ✨
  • pack_timestamp ✨
  • unpack_timestamp ✨
  • pack_boolean ✨
  • unpack_boolean ✨
  • pack_short_string ✨
  • unpack_short_string ✨
  • pack_field_table ✨
  • unpack_field_table ✨
  • pack_field_array 🫢
    • Tables and arrays sometimes require explicit typing. See Net::AMQP::Value. Also, in tables and arrays booleans from the boolean module are sent as AMQP booleans.
  • unpack_field_array 🫢
  • %data_type_map β€” a mapping of the XML spec's data type names to our names ('longstr' => 'long_string'). iykyk πŸ’œ
  • show_ascii β€” a helper routine that, given a binary string, returns a string of each byte represented by '\###', base 10 numbering. cute and useful πŸŽ€

πŸ”₯ SEE ALSO πŸ”₯

  • Net::AMQP β€” the one and only see-also reference, go give it a look bestie. πŸ‘‘

Legal tea time, bestie: Copyright (c) 2009 Eric Waters and XMission LLC (http://www.xmission.com/). All rights reserved. 🫢

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. periodt. πŸ’…

The full text of the license can be found in the LICENSE file included with this module. fr fr.

πŸ’Œ AUTHOR πŸ’Œ

Eric Waters <ewaters@gmail.com> β€” that's the author, no cap. πŸ’–


okay bye bestie πŸ’‹ source/version is perl v5.42.0, date is 2016-11-28, and the manual name is Net::A...:Common(3pm) β€” mwah 🫢✨

πŸ“¦ where this page comes from