BZ::Client::XMLRPC - Performs XML-RPC calls on behalf of the client.
version 4.4002
my $xmlrpc = BZ::Client::XMLRPC->new( url => $url ); my $result = $xmlrpc->request( methodName => $methodName, params => $params );
An instance of BZ::Client::XMLRPC is able to perform XML-RPC calls against the given URL. A request is performed by passing the method name and the method parameters to the method "request". The request result is returned.
This section lists the possible class methods.
my $xmlrpc = BZ::Client::XMLRPC->new( url => $url );
Creates a new instance with the given URL.
This section lists the possible instance methods.
my $url = $xmlrpc->url(); $xmlrpc->url( $url );
Returns or sets the XML-RPC servers URL.
my $result = $xmlrpc->request( methodName => $methodName, params => $params );
Calls the XML-RPC servers method $methodCall, passing the parameters given by $params, an array of parameters. Parameters may be hash refs, array refs, or atomic values. Array refs and hash refs may recursively contain array or hash refs as values. An instance of BZ::Client::Exception is thrown in case of errors.
$methodCall
$params
BZ::Client, BZ::Client::Exception
Dean Hamstead <dean@bytefoundry.com.au>
Jochen Wiedmann <jochen.wiedmann@gmail.com>
This software is copyright (c) 2017 by Dean Hamstad.
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 BZ::Client, copy and paste the appropriate command in to your terminal.
cpanm
cpanm BZ::Client
CPAN shell
perl -MCPAN -e shell install BZ::Client
For more information on module installation, please visit the detailed CPAN module installation guide.