NAME

Geo::Location::IP::Role::Record::HasConfidence - Add a "confidence" field

VERSION

version 0.002

SYNOPSIS

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

DESCRIPTION

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

SUBROUTINES/METHODS

confidence

my $confidence = $obj->confidence;

Returns a value in the range from 0 to 100 that indicates the confidence that the object has been correctly located. Returns the undefined value if the confidence is not available.

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.