NAME
Geo::Location::IP::Role::HasLocales - Add a "locales" field
VERSION
version 0.002
SYNOPSIS
apply Geo::Location::IP::Role::HasLocales;
DESCRIPTION
A mixin that adds the field locales
to a class.
SUBROUTINES/METHODS
locales
my @locales = @{$obj->locales};
Returns an array reference of locale codes such as ['de', 'en', 'zh-CN'].
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.