Catalyst::Plugin::Geography::Implementation - The gory details.
See Catalyst::Plugin::Geography
This module uses Geography::Countries and IP::Country::Fast to return Geographical information about a remote user.
The constructor. Takes a Catalyst context object as argument.
This method takes an optional hostname/ip, or fetches the remote address from the context object. It looks it up using IP::Country::Fast and returns the country code.
This method takes an optional country call, or falls back 'code'. It returns the full country name.
Catalyst, Catalyst::Plugin::Geography::Implementation.
Christian Hansen, ch@ngmedia.com Marcus Ramberg, mramberg@cpan.org
ch@ngmedia.com
mramberg@cpan.org
This library is free software. You can redistribute it and/or modify it under the same terms as perl itself.
1 POD Error
The following errors were encountered while parsing the POD:
Expected text after =item, not a bullet
To install Catalyst::Plugin::Geography, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::Plugin::Geography
CPAN shell
perl -MCPAN -e shell install Catalyst::Plugin::Geography
For more information on module installation, please visit the detailed CPAN module installation guide.