GeoIP2...ionType(3pm)
π GeoIP2::Model::ConnectionType β the vibe β¨
okay bestie, so this is the manual page for GeoIP2::Model::ConnectionType from the Perl user-contributed docs (3pm section, iykyk). It's the model class for the GeoIP2 Connection Type database and honestly? She's small, she's focused, she does exactly one job and she ate. π
β¨ VERSION β¨
version 2.006002
like, that's the version. no notes. π
πΈ SYNOPSIS πΈ
here's the whole vibe in code, and I mean verbatim, don't you dare retype it:
use 5.008;
use GeoIP2::Model::ConnectionType;
my $conn = GeoIP2::Model::ConnectionType->new(
raw => { connection_type => 'Corporate', ip_address => '24.24.24.24'}
);
print $conn->connection_type(), "\n";
see how she constructs the object with a raw hashref holding connection_type and ip_address, then prints the connection type plus a newline? that's it. that's the whole demo. main character energy fr fr. π¦
π DESCRIPTION π
This class provides a model for the data returned by the GeoIP2 Connection Type database. that's literally the whole thing β she's a model, she models the data, she slays. π
π METHODS π
This class provides the following methods, and there are exactly two, so no scrolling bestie:
$conn->connection_type()
Returns the connection type as a string. a string! like 'Corporate' in the example above. that's the tea. π
$conn->ip_address()
Returns the IP address used in the lookup. the one you fed in, coming right back at ya. π₯
π«Ά SUPPORT π«Ά
Bugs may be submitted through <https://github.com/maxmind/GeoIP2-perl/issues>.
not me telling you to file your bugs politely, but like... do file them, bestie. that's how software gets better. π
π AUTHORS π
look at this lineup, absolute icons:
- Dave Rolsky
<drolsky@maxmind.com> - Greg Oschwald
<goschwald@maxmind.com> - Mark Fowler
<mfowler@maxmind.com> - Olaf Alders
<oalders@maxmind.com>
four whole legends. we stan. π
π 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.
so like, yes you can share her, yes you can remix her, just keep the same terms as Perl 5 itself. no cap. π§
and that's the whole page!! the footer energy: this was generated under perl v5.36.0, dated 2022-11-21, and the page name is GeoIP2::Model::ConnectionType(3pm). mwah. bye bestie, go look up some connection types πβ¨π
π¦ 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