- or download this
#!/usr/bin/perl -w
use RPC::XML;
...
return RPC::XML::fault->new('444', 'not good');
}
}
- or download this
#!/usr/bin/perl -w
require RPC::XML;
...
print $hash->{answer};
print "\n";
- or download this
./rpcxmlserver.pl
$VAR1 = [
...
'event_type' => '1',
'called_number_int' => '+420223344600'
};
- or download this
./rpcxmlklient.pl
$VAR1 = \bless( {
...
'answer' => 'OK bejby'
};
OK bejby
- or download this
my $serv = shift;
my $hash = shift;
my %hash = %$hash;
- or download this
$hash = $resp->value;