system.methodSignature 1.2 array string array array Return the signatures that the specified method(s) may be called with. Always returns an ARRAY, even if there is only one signature. Either a single method must be named in the STRING parameter, or a list of one or more may be specified in the ARRAY parameter. If an ARRAY is passed, then return value will be an ARRAY containing other ARRAY values, one per requested name. {method_name}; my @list = (ref $arg) ? @$arg : ($arg); my (@results, $list, $method); for (@list) { if (ref($method = $srv->get_method($_)) and (! $method->hidden)) { push(@results, [ map { [ split(/ /) ] } @{$method->signature} ]); } else { return RPC::XML::fault->new(302, "$name: Method $_ unknown"); } } return (ref $arg) ? \@results : $results[0]; } __END__ ]]>