NAME

Catalyst::Plugin::Geography::Implementation - The gory details.

SYNOPSIS

See Catalyst::Plugin::Geography

DESCRIPTION

This module uses Geography::Countries and IP::Country::Fast to return Geographical information about a remote user.

METHODS

new

The constructor. Takes a Catalyst context object as argument.

code

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.

country

This method takes an optional country call, or falls back 'code'. It returns the full country name.

SEE ALSO

Catalyst, Catalyst::Plugin::Geography::Implementation.

AUTHOR

Christian Hansen, ch@ngmedia.com Marcus Ramberg, mramberg@cpan.org

LICENSE

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:

Around line 63:

Expected text after =item, not a bullet