AnyEvent-Hiredis

 view release on metacpan or  search on metacpan

META.yml  view on Meta::CPAN

meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: '1.4'
name: AnyEvent-Hiredis
requires:
  AnyEvent: '0'
  AnyEvent::Redis: '0'
  Benchmark: '0'
  Hiredis::Async: '0'
  feature: '0'
  namespace::autoclean: '0'
  strict: '0'
  warnings: '0'
version: '0.06'

Makefile.PL  view on Meta::CPAN

    "bin/bench.pl"
  ],
  "LICENSE" => "perl",
  "NAME" => "AnyEvent::Hiredis",
  "PREREQ_PM" => {
    "AnyEvent" => 0,
    "AnyEvent::Redis" => 0,
    "Benchmark" => 0,
    "Hiredis::Async" => 0,
    "feature" => 0,
    "namespace::autoclean" => 0,
    "strict" => 0,
    "warnings" => 0
  },
  "TEST_REQUIRES" => {
    "Exporter" => 0,
    "File::Which" => 0,
    "FindBin" => 0,
    "POSIX" => 0,
    "Test::Exception" => 0,
    "Test::More" => 0,

Makefile.PL  view on Meta::CPAN

  "ExtUtils::MakeMaker" => 0,
  "File::Which" => 0,
  "FindBin" => 0,
  "Hiredis::Async" => 0,
  "POSIX" => 0,
  "Test::Exception" => 0,
  "Test::More" => 0,
  "Test::TCP" => 0,
  "base" => 0,
  "feature" => 0,
  "namespace::autoclean" => 0,
  "ok" => 0,
  "strict" => 0,
  "warnings" => 0
);


unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
  delete $WriteMakefileArgs{TEST_REQUIRES};
  delete $WriteMakefileArgs{BUILD_REQUIRES};
  $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;

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

package AnyEvent::Hiredis;
BEGIN {
    $AnyEvent::Hiredis::VERSION = '0.06';
}
# ABSTRACT: AnyEvent hiredis API
use strict;
use warnings;
use namespace::autoclean;
use Hiredis::Async;
use AnyEvent;

sub new {
    my ($class, %args) = @_;

    my $self = bless {}, $class;

    $self->{host}  = $args{host} || '127.0.0.1';
    $self->{port}  = $args{port} || 6379;



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