Address-PostCode-India
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
Revision history for Address-PostCode-India
0.13 2019-01-19T21:05:00+01:00
- Upgraded to use Address::PostCode::UserAgent 0.09.
0.12 2019-01-14T16:50:00+01:00
- Added unit test scripts (t/meta-json.t and t/meta-yml.t).
0.11 2019-01-12T06:40:00+01:00
- Used namespace::autoclean instead.
0.10 2019-01-11T12:10:00+01:00
- Added key 'provides' as suggested by CPANTS.
0.09 2019-01-10T17:00:00+01:00
- Upgraded to use Address::PostCode::UserAgent 0.08.
0.08 2015-03-21T03:25:00+01:00
- Upgraded to use Address::PostCode::UserAgent 0.05.
"configure" : {
"requires" : {
"ExtUtils::MakeMaker" : "0"
}
},
"runtime" : {
"requires" : {
"Address::PostCode::UserAgent" : "0.09",
"JSON" : "0",
"Moo" : "0",
"namespace::autoclean" : "0.28",
"perl" : "5.006"
}
}
},
"provides" : {
"Address::PostCode::India" : {
"file" : "lib/Address/PostCode/India.pm",
"version" : "0.13"
},
"Address::PostCode::India::Place" : {
Address::PostCode::India:
file: lib/Address/PostCode/India.pm
version: '0.13'
Address::PostCode::India::Place:
file: lib/Address/PostCode/India/Place.pm
version: '0.13'
requires:
Address::PostCode::UserAgent: '0.09'
JSON: '0'
Moo: '0'
namespace::autoclean: '0.28'
perl: '5.006'
resources:
repository: https://github.com/Manwar/Address-PostCode-India.git
version: '0.13'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
Makefile.PL view on Meta::CPAN
MIN_PERL_VERSION => 5.006,
CONFIGURE_REQUIRES => {
'ExtUtils::MakeMaker' => 0,
},
BUILD_REQUIRES => {
'Test::More' => 0,
},
PREREQ_PM => {
'JSON' => 0,
'Moo' => 0,
'namespace::autoclean' => '0.28',
'Address::PostCode::UserAgent' => '0.09',
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'Address-PostCode-India-*' },
(eval { ExtUtils::MakeMaker->VERSION(6.46) } ? (META_MERGE => {
'meta-spec' => { version => 2 },
provides => {
'Address::PostCode::India' => { file => 'lib/Address/PostCode/India.pm' , version => '0.13' },
'Address::PostCode::India::Place' => { file => 'lib/Address/PostCode/India/Place.pm', version => '0.13' },
},
lib/Address/PostCode/India.pm view on Meta::CPAN
=cut
use 5.006;
use JSON;
use Data::Dumper;
use Address::PostCode::UserAgent;
use Address::PostCode::India::Place;
use Moo;
use namespace::autoclean;
extends 'Address::PostCode::UserAgent';
our $BASE_URL = 'http://getpincodes.info/api.php';
=head1 DESCRIPTION
The API service is provided by L<website|http://getpincodes.info/apidetail.php>.
A Postal Index Number or PIN or Pincode is the post office numbering or post code
system used by India Post, the Indian postal administration. The code is 6 digits
lib/Address/PostCode/India/Place.pm view on Meta::CPAN
=head1 VERSION
Version 0.13
=cut
use 5.006;
use Data::Dumper;
use Moo;
use namespace::autoclean;
has 'pincode' => (is => 'ro');
has 'city' => (is => 'ro');
has 'district' => (is => 'ro');
has 'state' => (is => 'ro');
=head1 METHODS
=head2 pincode()
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.907 second using v1.00-cache-2.02-grep-82fe00e-cpan-4185a24d4ac )