GeoIP2::Model::Domain(3pm)

GeoIP2::Model::Domain3pm

Model class for the geoip2 domain database

Usage

  use 5.008;
  use GeoIP2::Model::Domain;
  my $domain = GeoIP2::Model::Domain->new(
      raw  => { domain => 'maxmind.com', ip_address => '24.24.24.24'}
  );
  print $domain->domain(), "\n";

Version

version 2.006002

Overview

This class provides a model for the data returned by the GeoIP2 Domain database.

Methods

This class provides the following methods:

$domain->domain()

Returns the domain as a string.

$domain->ip_address()

Returns the IP address used in the lookup.

Support

Bugs may be submitted through <https://github.com/maxmind/GeoIP2-perl/issues>.

Releases

4 releases since Debian 10 (Buster); the text changed 2 times.

  1. 10
  2. 11
  3. 12–13