Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: Re: Getting an XML-RPC array with Frontier::Client

by jaldhar (Vicar)
on Apr 10, 2003 at 22:59 UTC ( #249766=note: print w/replies, xml ) Need Help??

in reply to Re: Getting an XML-RPC array with Frontier::Client
in thread Getting an XML-RPC array with Frontier::Client

Update: nicer error-handling code, correction of syntax errors.

Sorry I got sidetracked by other things (or rather I got retracked from this side track :-) but I returned to this subject and your advice was invaluable.

In the end though I used RPC::XML which is just as easy to use and apparently more complete. Here is what my example code would look like with this module:

use RPC::XML::Client; my $client = RPC::XML::Client->new(''); my $result = $client->send_request('test.guess'); die $result unless defined($result); die $result->code . ': ' . $result->string if $result->is_fault; print join(' ', @{$result->value}), "\n";


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://249766]
[Lady_Aleena]: marioroy, it is used in 24 other modules I wrote.
[Lady_Aleena]: GUH! I wrote a script better than I thought! 8)
[marioroy]: Wow. It's cool seeing Github coments "Update, Create Wild_hairs, Create alternate- PurpleOnGreen..., Then a location, Create Aleenia. Amazing, really. Thank you for sharing.
Discipulus when naming is clear and you know how to arrange the data, then coding it is a mere writing work

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2017-05-29 09:07 GMT
Find Nodes?
    Voting Booth?