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.
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.