Sinister has asked for the wisdom of the Perl Monks concerning the following question:
This gracefully dies with: Died at ./client.pl line 11.#!/opt/perl/bin/perl -Tl use warnings; use strict; use RPC::XML::Client; my $client = RPC::XML::Client->new('http://localhost:8000/'); my $result = $client->send_request('system.listMethods'); die $result unless defined($result); die $result; die $result->code . ': ' . $result->string if $result->is_fault; print join(' ', @{$result->value}), "\n";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: RPC::XML::Client question
by mirod (Canon) on Jan 06, 2004 at 15:45 UTC | |
Re: RPC::XML::Client question
by Roger (Parson) on Jan 06, 2004 at 13:32 UTC | |
by Sinister (Friar) on Jan 06, 2004 at 13:37 UTC | |
by Roger (Parson) on Jan 06, 2004 at 13:59 UTC | |
by Sinister (Friar) on Jan 06, 2004 at 14:58 UTC | |
Re: RPC::XML::Client question
by Sinister (Friar) on Jan 06, 2004 at 16:01 UTC |