Group
Extension

Matches 2

Net-Presto ( J/JI/JIRO/Net-Presto-0.02.tar.gz, JIRO, 2015; MetaCPAN )
Net-Presto/lib/Net/Presto.pm ( view source; MetaCPAN )
package Net::Presto;
use Moo;
use Furl;
use Carp qw(confess);
use Scalar::Util qw(blessed);
use JSON::XS;

our $VERSION = "0.02";

use Net::Presto::Statement;

has protocol => (
    is => 'ro',
    is
s, $query);
    confess $response->status_line unless $response->is_success;
    my $res = decode_json $response->content;
    Net::Presto::Statement->create(
        furl    => $self->furl,
        h
Net-Presto ( J/JI/JIRO/Net-Presto-0.02.tar.gz, JIRO, 2015; MetaCPAN )
Net-Presto/lib/Net/Presto/Statement.pm ( view source; MetaCPAN )
package Net::Presto::Statement;
use Moo;
use JSON::XS;
use Carp qw(confess);

use constant DEBUG => $ENV{PERL_PRESTO_DEBUG} ? 1 : 0;

has furl => (
    is => 'ro',
    required => 1,
);

has headers =
url " . $response->content || '' if DEBUG;
    if ($response->content) {
        my $res = decode_json $response->content;
        $self->_set_state($res);
        return $res;
    } else {
        $s

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