WWW::ErnestMarplesInterface to the ernestmarples.com UK postcode lookup API | |
Download |
WWW::ErnestMarples Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Andy Armstrong
- Publisher web site:
- http://search.cpan.org/~andya/
WWW::ErnestMarples Tags
WWW::ErnestMarples Description
Interface to the ernestmarples.com UK postcode lookup API WWW::ErnestMarples is a Perl interface to the ernestmarples.com UK postcode lookup API.SYNOPSIS use WWW::ErnestMarples; my $em = WWW::ErnestMarples->new; my ( $lat, $lon ) = $em->lookup('CA9 3NT');INTERFACEnewCreate a new WWW::ErnestMarples. Accepts named arguments. The only argument currently supported is service which gives the base URL of the lookup service. Defaults to http://ernestmarples.com/. my $em = WWW::ErnestMarples->new( service => 'http://localhost/emtest.cgi' );For normal use pass no args: my $em = WWW::ErnestMarples->new;lookupLook up a UK postcode. The return value is a list containing latitude, longitude of the postcode. my ( $lat, $lon ) = $em->lookup( $my_postcode ); Requirements: · Perl
WWW::ErnestMarples Related Software