Scroll to navigation

Net::AMQP::Common(3pm) User Contributed Perl Documentation Net::AMQP::Common(3pm)


Net::AMQP::Common - A collection of exportable tools for AMQP (de)serialization


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


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.

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.
A mapping of the XML spec's data type names to our names ('longstr' => 'long_string')
A helper routine that, given a binary string, returns a string of each byte represented by '\###', base 10 numbering.




Copyright (c) 2009 Eric Waters and XMission LLC ( All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

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


Eric Waters <>

2016-11-28 perl v5.38.2