NAME

Geo::Location::IP::Role::HasIPAddress - Add an "ip_address" field

VERSION

version 0.002

SYNOPSIS

apply Geo::Location::IP::Role::HasIPAddress;

DESCRIPTION

A mixin that adds the field ip_address to a class.

SUBROUTINES/METHODS

ip_address

my $ip_address = $obj->ip_address;

Returns the IP address as a Geo::Location::IP::Address object.

DIAGNOSTICS

None.

CONFIGURATION AND ENVIRONMENT

None.

DEPENDENCIES

None.

INCOMPATIBILITIES

None.

BUGS AND LIMITATIONS

None known.

AUTHOR

Andreas Vögele <voegelas@cpan.org>

LICENSE AND COPYRIGHT

Copyright (C) 2025 Andreas Vögele

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.