The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Geo::Privacy - Information about privacy/GDPR regulations by state

VERSION

Version 0.01

SYNOPSIS

All subroutines take an ISO 3166-1 two letter country abbreviation (case in-sensitive) and return a true/false value.

use Geo::Privacy qw( is_eea_state is_gdpr_state );

if ( is_eea_state( 'it' ) ) { say "Yes, Italy is in the EEA" }

if ( is_gdpr_state( 'de' ) ) { say "GDPR does apply in Germany" }

EXPORT

is_eu_state

Return true if the specified state is a member of the European Union.

is_gdpr_state

Return true if the specified state is subject to the protections in GDPR.

is_eea_state

Return true if the specified state is a member of the European Economic Area

has_data_retention_regulations

Return true if the specified state is known to have regulations related to the retention of data about its citizens.

Currently, this includes GDPR states as well as Austrailia and Canada.

AUTHOR

Dan Wright (dan at dwright dot org)

BUGS

Please report any bugs or feature requests to https://github.com/dwright/Geo-Privacy/issues.

LICENSE AND COPYRIGHT

Copyright 2018 Dan Wright

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

DISCLAIMER

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.