my ($result) = $meth->run('add',@args);
return $result;
-
- return send_request( "add", @args );
}
__PACKAGE__->register_method( method => 'sub_1', api_name => 'sub' );
my ($result) = $meth->run('sub',@args);
return $result;
-
- return send_request( "sub", @args );
}
__PACKAGE__->register_method( method => 'mult_1', api_name => 'mult' );
my ($result) = $meth->run('mult',@args);
return $result;
-
- return send_request( "mult", @args );
}
__PACKAGE__->register_method( method => 'div_1', api_name => 'div' );
my ($result) = $meth->run('div',@args);
return $result;
-
- return send_request( "div", @args );
}