Catalyst::Plugin::GeographyCatalyst::Plugin::Geography Perl module can retrieve geographical information. | |
Download |
Catalyst::Plugin::Geography Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Christian Hansen and Marcus Ramberg
- Publisher web site:
- http://search.cpan.org/~mramberg/
Catalyst::Plugin::Geography Tags
Catalyst::Plugin::Geography Description
Catalyst::Plugin::Geography Perl module can retrieve geographical information. Catalyst::Plugin::Geography Perl module can retrieve geographical information.SYNOPSIS use Catalyst qw; # Retrieve country or code from current user print $c->geography->country; print $c->geography->code; # Retrieve country or code from IP print $c->geography->country('66.102.9.99'); print $c->geography->code('66.102.9.99'); # Retrieve country or code from hostname print $c->geography->country('www.google.com'); print $c->geography->code('www.google.com'); # Retrieve country from code print $c->geography->country('US'); # Alias print $c->geo->code('www.google.com'); print $c->geo->country('US');Retrieve geographical country and country codes from users.METHODSgeoalias to geographygeographyWill create or return a Catalyst::Plugin::Geography::Implementation object. Requirements: · Perl
Catalyst::Plugin::Geography Related Software