NAME
Geo::Location::IP::Role::Record::HasConfidence - Add the fields "name" and "names"
VERSION
version 0.002
SYNOPSIS
apply Geo::Location::IP::Role::Record::HasNames;
DESCRIPTION
A mixin that adds the fields name
and names
to a class.
SUBROUTINES/METHODS
name
my $name = $obj->name;
Returns the object's localized name or the undefined value.
names
my %names = %{$obj->names};
Returns a hash reference that maps locale codes to localized names.
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.