NAME

Geo::Location::IP::Role::Record::HasGeoNameId - Add a "geoname_id" field

VERSION

version 0.002

SYNOPSIS

apply Geo::Location::IP::Role::Record::HasGeoNameId;

DESCRIPTION

A mixin that adds the numeric field geoname_id to a class.

SUBROUTINES/METHODS

geoname_id

my $geoname_id = $obj->geoname_id;

Returns the object's GeoNames identifier as a number or the undefined value.

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.