This works perfectly. It was sad putting Mara to sleep after serving me so well for so long, but its time to move forward!
One question, I want to know if the domainResourceUodate is successful. I tried
Code:
my $result = $api->domainResourceUpdate(resourceid => $resourceid, target => $pubip);
print $result;
but that just gave me a number that didn't seem to mean anything.
Currently, I'm doing
Code:
$api->domainResourceUpdate(resourceid => $resourceid, target => $pubip) or die "Failed updating record";
print "$record.$domain updated";
based on the assumption that if there's a problem, the domainResourceUpdate method won't return true. Is there a nicer way to do this?