Group
Extension

Matches 1

Geo-Coder-Bing-Bulk ( G/GR/GRAY/Geo-Coder-Bing-Bulk-0.04.tar.gz, GRAY, 2011; MetaCPAN )
Geo-Coder-Bing-Bulk/lib/Geo/Coder/Bing/Bulk.pm ( view source; MetaCPAN )


use strict;
use warnings;

use Carp qw(croak);
use Encode ();
use HTTP::Request::Common ();
use JSON;
use LWP::UserAgent;
use URI;

our $VERSION = '0.04';
$VERSION = eval $VERSION;

sub new {
    my
 return unless $res->is_success;

    # Change the content type of the response from 'application/json' so
    # HTTP::Message will decode the character encoding.
    $res->content_type('text/plain');

    my $content = $res->decoded_content;
    return unless $content;

    my $data = eval { from_json($content) };
    return unless $data;

    return $self->{id} = $data->{resourceSets}[0]{resource

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.