Trac::RPC::Base
version 1.0.0
Trac::RPC::Base - abstract class for Trac::RPC classes
Get: 1) $class 2) $params
Return: 1) object
Sub creates an object
Get: 1) $self 2) @params with params to send to trac's xml rpc interface
Return: 1) scalar with some data recived from trac
Sending request to trac and returns the answer.
$self->call( 'wiki.putPage', RPC::XML::string->new($page), RPC::XML::string->new($content), RPC::XML::struct->new() );
Handler that checks for different types of erros and throws exceptions.
Ivan Bessarabov <ivan@bessarabov.ru>
This software is copyright (c) 2011 by Ivan Bessarabov.
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 Trac::RPC, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Trac::RPC
CPAN shell
perl -MCPAN -e shell install Trac::RPC
For more information on module installation, please visit the detailed CPAN module installation guide.