1GeoIP2::Model::Domain(3U)ser Contributed Perl DocumentatiGoenoIP2::Model::Domain(3)
2
3
4
6 GeoIP2::Model::Domain - Model class for the GeoIP2 Domain database
7
9 version 2.006002
10
12 use 5.008;
13
14 use GeoIP2::Model::Domain;
15
16 my $domain = GeoIP2::Model::Domain->new(
17 raw => { domain => 'maxmind.com', ip_address => '24.24.24.24'}
18 );
19
20 print $domain->domain(), "\n";
21
23 This class provides a model for the data returned by the GeoIP2 Domain
24 database.
25
27 This class provides the following methods:
28
29 $domain->domain()
30 Returns the domain as a string.
31
32 $domain->ip_address()
33 Returns the IP address used in the lookup.
34
36 Bugs may be submitted through
37 <https://github.com/maxmind/GeoIP2-perl/issues>.
38
40 • Dave Rolsky <drolsky@maxmind.com>
41
42 • Greg Oschwald <goschwald@maxmind.com>
43
44 • Mark Fowler <mfowler@maxmind.com>
45
46 • Olaf Alders <oalders@maxmind.com>
47
49 This software is copyright (c) 2013 - 2019 by MaxMind, Inc.
50
51 This is free software; you can redistribute it and/or modify it under
52 the same terms as the Perl 5 programming language system itself.
53
54
55
56perl v5.36.0 2023-01-20 GeoIP2::Model::Domain(3)