Address-PostCode-India

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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.

META.json  view on Meta::CPAN

28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
   "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" : {

META.yml  view on Meta::CPAN

21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
  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:
version: '0.13'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'

Makefile.PL  view on Meta::CPAN

15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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

13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
=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';
 
 
=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

10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
=head1 VERSION
 
Version 0.13
 
=cut
 
use 5.006;
 
use Moo;
 
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 distribution
 view release on metacpan -  search on metacpan

( run in 0.990 second using v1.00-cache-2.02-grep-82fe00e-cpan-9cd309a53ab )