WWW::Giraffi::API::Region - Giraffi API Region Method Region Module
0.2_04
use strict; use warnings; use WWW::Giraffi::API; my $apikey = "ilovenirvana_ilovekurtcobain"; my $g = WWW::Giraffi::API->new(apikey => $apikey); # get all region data my $arrayref = $g->region->all; foreach $ref(@{$arrayref}) { ## anything to do... }
WWW::Giraffi::API::Region is Giraffi API Region Method Access Module
Get All Region Setting
Example:
$ create region object my $region = $g->region; my $arrayref = $region->all;
Return Array Reference:
[ { region => { id => 1, code => "JP" } } ]
Akira Horimoto <emperor@gmail.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install WWW::Giraffi::API, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Giraffi::API
CPAN shell
perl -MCPAN -e shell install WWW::Giraffi::API
For more information on module installation, please visit the detailed CPAN module installation guide.