IPinfo has an C<sprintf>-style formatting
code, and for everything else you can use C<%j> to get JSON that you can
format with B<jq> for some other tool.
=over 4
=item * C<%a> - the ASN of the orga
the hostname for the IP address
=item * C<%i> - the IP address
=item * C<%j> - all the data as JSON, in a UTF-8 decoded string
=item * C<%k> - the continent of the organization
=item * C<%L> - th
=> sub ( $w, $v, $V, $l ) {
use JSON;
# we decode UTF-8 because it will be encoded again on the
# way out
decode( 'UTF-8', encode_json($V->[0]->TO_JSON) );
},
k => sub ( $w, $v, $V