1Net::AMQP::Common(3) User Contributed Perl Documentation Net::AMQP::Common(3)
2
3
4
6 Net::AMQP::Common - A collection of exportable tools for AMQP
7 (de)serialization
8
10 use Net::AMQP::Common qw(:all)
11
13 The following are available for exporting by name or by ':all'. All
14 the 'pack_*' methods take a single argument and return a binary string.
15 All the 'unpack_*' methods take a scalar ref and return a perl data
16 structure of some type, consuming some data from the scalar ref.
17
18 pack_octet
19 unpack_octet
20 pack_short_integer
21 unpack_short_integer
22 pack_long_integer
23 unpack_long_integer
24 pack_long_long_integer
25 unpack_long_long_integer
26 pack_unsigned_short_integer
27 unpack_unsigned_short_integer
28 pack_unsigned_long_integer
29 unpack_unsigned_long_integer
30 pack_unsigned_long_long_integer
31 unpack_unsigned_long_long_integer
32 pack_timestamp
33 unpack_timestamp
34 pack_boolean
35 unpack_boolean
36 pack_short_string
37 unpack_short_string
38 pack_field_table
39 unpack_field_table
40 pack_field_array
41 Tables and arrays sometimes require explicit typing. See
42 Net::AMQP::Value. Also, in tables and arrays booleans from the
43 boolean module are sent as AMQP booleans.
44
45 unpack_field_array
46 %data_type_map
47 A mapping of the XML spec's data type names to our names ('longstr'
48 => 'long_string')
49
50 show_ascii
51 A helper routine that, given a binary string, returns a string of
52 each byte represented by '\###', base 10 numbering.
53
55 Net::AMQP
56
58 Copyright (c) 2009 Eric Waters and XMission LLC
59 (http://www.xmission.com/). All rights reserved. This program is free
60 software; you can redistribute it and/or modify it under the same terms
61 as Perl itself.
62
63 The full text of the license can be found in the LICENSE file included
64 with this module.
65
67 Eric Waters <ewaters@gmail.com>
68
69
70
71perl v5.30.1 2020-01-30 Net::AMQP::Common(3)