AnyEvent-EC2-Tiny
view release on metacpan or search on metacpan
"File::Temp" => 0,
"Module::Build" => "0.3601",
"Test::More" => 0,
"strict" => 0,
"warnings" => 0
},
"configure_requires" => {
"ExtUtils::MakeMaker" => "6.30",
"Module::Build" => "0.3601"
},
"dist_abstract" => "Tiny asynchronous (non-blocking) interface to EC2 using AnyEvent",
"dist_author" => [
"Sawyer X <xsawyerx\@cpan.org>"
],
"dist_name" => "AnyEvent-EC2-Tiny",
"dist_version" => "0.002",
"license" => "perl",
"module_name" => "AnyEvent::EC2::Tiny",
"recommends" => {},
"recursive_test_files" => 1,
"requires" => {
---
abstract: 'Tiny asynchronous (non-blocking) interface to EC2 using AnyEvent'
author:
- 'Sawyer X <xsawyerx@cpan.org>'
build_requires:
Data::Dumper: 0
File::Find: 0
File::Temp: 0
Module::Build: 0.3601
Test::More: 0
strict: 0
warnings: 0
Makefile.PL view on Meta::CPAN
use strict;
use warnings;
use ExtUtils::MakeMaker 6.30;
my %WriteMakefileArgs = (
"ABSTRACT" => "Tiny asynchronous (non-blocking) interface to EC2 using AnyEvent",
"AUTHOR" => "Sawyer X <xsawyerx\@cpan.org>",
"BUILD_REQUIRES" => {
"Data::Dumper" => 0,
"File::Find" => 0,
"File::Temp" => 0,
"Module::Build" => "0.3601",
"Test::More" => 0,
"strict" => 0,
"warnings" => 0
},
NAME
AnyEvent::EC2::Tiny - Tiny asynchronous (non-blocking) interface to EC2
using AnyEvent
VERSION
version 0.002
SYNOPSIS
use v5.14;
use AnyEvent::EC2::Tiny;
my $ec2 = AnyEvent::EC2::Tiny->new(
fail_cb => sub {
my $error = shift;
$error->{'type'} # HTTP or XML
$error->{'data'} # hashref to body, errors, xml, headers, etc.
$error->{'text'} # text of the error
},
);
DESCRIPTION
This is a basic asynchronous, non-blocking, interface to EC2 based on
Net::EC2::Tiny. It's relatively compatible while the only difference is
with regards to the callbacks and returned information.
METHODS
send
"send()" expects the same arguments as "send()" in Net::EC2::Tiny,
except you should also provide two additional arguments.
success_cb
$ec2->send(
lib/AnyEvent/EC2/Tiny.pm view on Meta::CPAN
package AnyEvent::EC2::Tiny;
{
$AnyEvent::EC2::Tiny::VERSION = '0.002';
}
# ABSTRACT: Tiny asynchronous (non-blocking) interface to EC2 using AnyEvent
use Moo;
use Carp;
use HTTP::Tiny;
use AnyEvent::HTTP;
extends 'Net::EC2::Tiny';
sub _request {
my $self = shift;
lib/AnyEvent/EC2/Tiny.pm view on Meta::CPAN
}
1;
__END__
=pod
=head1 NAME
AnyEvent::EC2::Tiny - Tiny asynchronous (non-blocking) interface to EC2 using AnyEvent
=head1 VERSION
version 0.002
=head1 SYNOPSIS
use v5.14;
use AnyEvent::EC2::Tiny;
lib/AnyEvent/EC2/Tiny.pm view on Meta::CPAN
fail_cb => sub {
my $error = shift;
$error->{'type'} # HTTP or XML
$error->{'data'} # hashref to body, errors, xml, headers, etc.
$error->{'text'} # text of the error
},
);
=head1 DESCRIPTION
This is a basic asynchronous, non-blocking, interface to EC2 based on
L<Net::EC2::Tiny>. It's relatively compatible while the only difference is
with regards to the callbacks and returned information.
=head1 METHODS
=head2 send
C<send()> expects the same arguments as C<send()> in L<Net::EC2::Tiny>, except
you should also provide two additional arguments.
( run in 0.345 second using v1.01-cache-2.11-cpan-0d8aa00de5b )