GeoIP2...:Domain(3pm)
π NAME π
GeoIP2::Model::Domain β the model class for the GeoIP2 Domain database, bestie. This is the perl page for it (you know, the (3pm) one, group-chat certified π«Ά).
β¨ VERSION β¨
This is version 2.006002 β yes, that's the number, no cap, I'm not rounding it π
πΈ SYNOPSIS πΈ
okay so this is literally how you use it, copy-paste ready:
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";
look at her. main character energy fr fr π₯
π¦ DESCRIPTION π¦
So this class is the model for the data that the GeoIP2 Domain database hands back. That's the whole vibe β it's the little container that holds your answers. Iconic, honestly.
π METHODS π
Here's the lineup, bestie β this class gives you these:
π $domain->domain()
Returns the domain as a string. That's it, that's the girl π
π $domain->ip_address()
Returns the IP address that was used in the lookup. Like, the one you came in with π
π«Ά SUPPORT π«Ά
Found a bug? Not me finding a bug π You can submit them right here:
(the manpage shows it as <https://github.com/maxmind/GeoIP2-perl/issues>, and yeah, that's the link π)
β AUTHORS β
Shoutout to the icons who made this:
- Dave Rolsky
<drolsky@maxmind.com> - Greg Oschwald
<goschwald@maxmind.com> - Mark Fowler
<mfowler@maxmind.com> - Olaf Alders
<oalders@maxmind.com>
periodt. π
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2013 - 2019 by MaxMind, Inc.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. Slay, legally speaking β¨
π ngl that's the whole page, bestie. This wasGeoIP2::Model::Domainfrom the User Contributed Perl Documentation,perl v5.36.0, dated 2022-11-21. bye babes π¦π
π¦ where this page comes from
- debian bookworm: libgeoip2-perl 2.006002-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libgeoip2-perl 2.006002-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libgeoip2-perl 2.006002-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libgeoip2-perl 2.006002-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libgeoip2-perl 2.006002-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms