ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/EV-ADNS/ADNS.pm
(Generate patch)

Comparing EV-ADNS/ADNS.pm (file contents):
Revision 1.6 by root, Mon Dec 3 19:04:48 2007 UTC vs.
Revision 1.7 by root, Wed Dec 5 10:46:00 2007 UTC

49 49
50 sub adns_cb { 50 sub adns_cb {
51 my ($status, $expires, @rr) = @_; 51 my ($status, $expires, @rr) = @_;
52 if ($status == EV::ADNS::s_ok) { 52 if ($status == EV::ADNS::s_ok) {
53 use JSON::XS; 53 use JSON::XS;
54 warn to_json \@rr; 54 warn encode_json \@rr;
55 } 55 }
56 } 56 }
57 57
58The format of result records varies considerably, here is some cursory 58The format of result records varies considerably, here is some cursory
59documentation of how each record will look like, depending on the query 59documentation of how each record will look like, depending on the query

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines