Thanks, I need some fine-tuning to my array/hash skills. It works perfect now!!
While I have your attention, I am a bit confused by the RPC::XML module and how to use it, as easy as with Frontier. I would happily use it if I knew how to!
use RPC::XML;
$req = RPC::XML::request->new('fetch_prime_factors',
RPC::XML::int->new(985120528));
...
$resp = RPC::XML::Parser->new()->parse(STREAM);
if (ref($resp))
{
return $resp->value->value;
}
else
{
die $resp;
}
Where do I specify the server address (http://somerpcserversite.com/server.php) and then can I just pass in the arguments like the array above? Where do I do that?
THANKS!