Net::AMQP::Common(3pm)

Net::AMQP::Common3pm

A collection of exportable tools for amqp (de)serialization

Usage

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

Exportable methods

The following are available for exporting by name or by ':all'. 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.

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')

show_ascii

A helper routine that, given a binary string, returns a string of each byte represented by '\###', base 10 numbering.

Releases

6 releases since Debian 8 (Jessie); the text changed 3 times.

  1. 8
  2. 9–10
  3. 11
  4. 12–13

Author

Eric Waters <[email protected]>

From libnet-amqp-perl 0.06~dfsg-4 in Debian 13 (Trixie). Parsed by carta from the page's man source.