Broadworks::OCIP::Response - A Broadworks OCI-P Response Message
version 0.09
use Broadworks::OCIP::Response; my $res = Broadworks::OCIP::Response->new( xml => string, expected => 'SuccessResponse' ); $res->status_ok;
Unpacks an XML document sent as a reply and allows its manipulation.
The XML document returned. This should be a perl string - not encoded.
The response type we are expecting. This is used to populate status_ok. If die_on_error is set an exception will be thrown if the received document is not of this type.
status_ok
die_on_error
Whether we throw toys out of pram on unexpected input.
A perl hash representation of the XML.
The type of the returned XML.
Is this the expected return type.
The hash payload of the XML document.
Any tables that are in the returned data. This returns a hash of tables named by the table name.
Each table is an array of rows, each of which is a hash.
Returns the content of a single named table, as a list
Build the object - throw an error if this is an unexpected type.
Return a result from the payload as a list (empty if not defined).
Nigel Metheringham <Nigel.Metheringham@redcentricplc.com>
Copyright 2014-2020 Recentric Solutions Limited. All rights reserved.
Nigel Metheringham <nigelm@cpan.org>
This software is copyright (c) 2020 by Nigel Metheringham.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Broadworks::OCIP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Broadworks::OCIP
CPAN shell
perl -MCPAN -e shell install Broadworks::OCIP
For more information on module installation, please visit the detailed CPAN module installation guide.