GeoIP2...:Domain(3pm)

πŸ“¦
version 2.006002 Β· 6 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– 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. πŸ’…


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 was GeoIP2::Model::Domain from the User Contributed Perl Documentation, perl v5.36.0, dated 2022-11-21. bye babes πŸ¦‹πŸ’–
πŸ“¦ where this page comes from