GeoIP2...ionType(3pm)

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

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


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