AnyEvent-CallbackStack

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

Revision history for AnyEvent-CallbackStack

0.12	2017-02-13 00:28:00 UTC+8
	update doc for travis status icon
0.11	2017-02-13 00:15:00 UTC+8
	use utf8 in Makefile.PL, update README.pod
0.10	2012-12-30 06:20:03 UTC+8
	update document
0.09	2012-06-21 02:03:57 UTC+8
	fix document
	fix build requires in Makefile.PL
0.08	2012-05-25 04:49:55 UTC+8
	change to ExtUtils::MakeMaker and cleanup
0.07	2012-05-19 13:29:38 UTC+8
	bugfix: bug in recuresive call
0.06    2012-04-27 15:19:33 UTC+8

Makefile.PL  view on Meta::CPAN

use utf8;
use strict;
use warnings;
use ExtUtils::MakeMaker;

WriteMakefile(
    NAME                => 'AnyEvent::CallbackStack',
    AUTHOR              => q{BlueT - Matthew Lien - 練喆明 <BlueT@BlueT.org>},
    VERSION_FROM        => 'lib/AnyEvent/CallbackStack.pm',
    ABSTRACT_FROM       => 'lib/AnyEvent/CallbackStack.pm',
    ($ExtUtils::MakeMaker::VERSION >= 6.3002

lib/AE/CS.pm  view on Meta::CPAN

package AE::CS;

use AnyEvent::CallbackStack;

our $VERSION = $AnyEvent::CallbackStack::VERSION;

=encoding utf8

=head1 NAME

AE::CS - Shorter AnyEvent::CallbackStack API.

Inspired by AE.
Starting with version 0.05, AnyEvent::CallbackStack officially supports a second, much
simpler in name, API that is designed to reduce the typing.

There is No Magic like what AE has on reducing calling and memory overhead.

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

package AnyEvent::CallbackStack;


our $VERSION = '0.12';

use utf8;
use feature 'say';
use common::sense;
use Data::Dumper::Simple;

use AnyEvent;
use constant DEBUG => $ENV{ANYEVENT_CALLBACKSTACK_DEBUG};


=encoding utf8

=head1 NAME

AnyEvent::CallbackStack - Turning endless nested Event-Based Callbacks into plain Sequential Style. And save your indents.

Convert nested callback into easy-to-read-write-and-maintain serial/procedural coding style by using Callback Stack.

=head1 SYNOPSIS

Use L<AnyEvent::CallbackStack> with the following style.



( run in 1.073 second using v1.01-cache-2.11-cpan-49f99fa48dc )