AnyEvent-ClickHouse

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

      },
      "configure" : {
         "requires" : {
            "ExtUtils::MakeMaker" : "0"
         }
      },
      "runtime" : {
         "requires" : {
            "AnyEvent" : "7.13",
            "AnyEvent::HTTP" : "2.23",
            "Data::Dumper" : "2.161",
            "Scalar::Util" : "1.46",
            "Test::HTTP::AnyEvent::Server" : "0.013",
            "URI" : "1.71",
            "URI::QueryParam" : "1.71",
            "perl" : "v5.10.0",
            "strict" : "0",
            "warnings" : "0"
         }
      }
   },

META.yml  view on Meta::CPAN

  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: '1.4'
name: AnyEvent-ClickHouse
no_index:
  directory:
    - t
    - inc
requires:
  AnyEvent: '7.13'
  AnyEvent::HTTP: '2.23'
  Data::Dumper: '2.161'
  Scalar::Util: '1.46'
  Test::HTTP::AnyEvent::Server: '0.013'
  URI: '1.71'
  URI::QueryParam: '1.71'
  perl: v5.10.0
  strict: '0'
  warnings: '0'
version: '0.031'

Makefile.PL  view on Meta::CPAN

use ExtUtils::MakeMaker;

WriteMakefile(
    NAME              => 'AnyEvent::ClickHouse',
    VERSION_FROM      => 'lib/AnyEvent/ClickHouse.pm', 
    PREREQ_PM         => {
        'AnyEvent'               	=> 7.13,
        'AnyEvent::HTTP' 	        => 2.23,
        'URI'                           => 1.71,
        'URI::QueryParam'               => 1.71,
        'Data::Dumper'                  => 2.161,
        'Scalar::Util'                  => 1.46,
        'Test::HTTP::AnyEvent::Server' => 0.013,
        'strict'                => 0,
        'warnings'              => 0,
    },
    ABSTRACT_FROM     => 'lib/AnyEvent/ClickHouse.pm',
    AUTHOR            => 'Maxim Motylkov <mmv@cpan.org>',
    LICENSE           => 'perl',
    META_MERGE          => {
        requires        => {

README  view on Meta::CPAN

   make install

DEPENDENCIES

This module requires these other modules and libraries:

   AnyEvent
   AnyEvent::HTTP
   URI
   URI::QueryParam
   Data::Dumper
   Scalar::Util
   Test::HTTP::AnyEvent::Server
   strict
   warnings

COPYRIGHT AND LICENCE

Copyright (C) 2016 by Maxim Motylkov  <mmv@cpan.org>

This library is free software; you can redistribute it and/or modify

lib/AnyEvent/ClickHouse.pm  view on Meta::CPAN

use vars qw(@ISA @EXPORT);
our @ISA = qw(Exporter);
our @EXPORT = qw(clickhouse_do clickhouse_select clickhouse_select_array clickhouse_select_hash);

use AnyEvent;
use AnyEvent::HTTP;
use URI;
use URI::QueryParam;
use Scalar::Util qw/looks_like_number/;

use Data::Dumper;

our $headers;
$headers->{'User-agent'} =  'Mozilla/5.0 (compatible; U; Perl-AnyEvent-ClickHouse;)';
$headers->{'Te'} =  undef;
$headers->{'Referer'} =  undef;
$headers->{'Connection'} =  'Keep-Alive';

sub _init {
	my $param = shift;



( run in 0.287 second using v1.01-cache-2.11-cpan-4d50c553e7e )