NAME
InternetData::AsnResult - what an AS lookup answers
SYNOPSIS
my $as = $client->lookup_asn(9009);
$as->asn; # 9009
$as->name; # 'M247 Europe SRL'
$as->type; # 'hosting', or undef when your plan omits it
$as->has('prefixes'); # 1 if your plan carries it at all
DESCRIPTION
Absent is not false here either: a member your plan does not include has no key at all, so read it with has or //, as "ABSENT IS NOT FALSE" in InternetData::Result explains.
METHODS
asn, name, country, registry, allocated, domain
On every answer, with a key or without one: the AS number, its operator, the country and registry that allocated it, when, and the operator's domain.
type, num_ips, num_prefixes4, num_prefixes6, rpki_valid, rpki_invalid, rpki_not_found
Paid: the kind of network it runs, the IPv4 addresses and the prefixes it announces, and how many of its announcements RPKI calls valid, invalid or unrecorded. undef when your plan omits them.
whois, prefixes
Paid: the AS's WHOIS record as a hash reference of strings, and the prefixes it announces as an array reference, each a hash reference with prefix, peer_count, rpki_status, first_seen, country, size and other_origins.
trial_expired
On answers to a key on the free plan only, as on InternetData::Result.
has($field), fields, raw
As on InternetData::Result.