Help for this page

Select Code to Download


  1. or download this
    sub doCommand {
       # Decode the results of the raw command from XML.
    ...
    
       return $result;
    }
    
  2. or download this
    use strict;
    use Frontier::RPC2;
    ...
    my $result = [ "you guessed", 42 ];
    my $xml_string = $coder->encode_response($result);
    print $xml_string,"\n";
    
  3. or download this
    <?xml version="1.0"?>
    <methodResponse>
    ...
    </param>
    </params>
    </methodResponse>