Permalink
Browse files

use parent; no AE

  • Loading branch information...
miyagawa committed Jan 3, 2010
1 parent 9d8b0f0 commit 7d591abeb17eba6e18325bb7ecf1c37b7885f959
Showing with 2 additions and 2 deletions.
  1. +1 −1 Makefile.PL
  2. +1 −1 t/test.t
View
@@ -2,7 +2,7 @@ use inc::Module::Install;
name 'AnyEvent-DBI-Abstract';
all_from 'lib/AnyEvent/DBI/Abstract.pm';
readme_from 'lib/AnyEvent/DBI/Abstract.pm';
-requires 'AE';
+requires 'parent';
requires 'AnyEvent::DBI';
requires 'SQL::Abstract';
build_requires 'Test::More';
View
@@ -5,7 +5,7 @@ use AnyEvent::DBI::Abstract;
sub sync(&;&) {
my $block = shift;
my $cb = shift;
- my $cv = AE::cv;
+ my $cv = AnyEvent->condvar;
$cv->cb(sub { $cb->($_[0]->recv) }) if $cb;
$block->($cv);
$cv->recv;

0 comments on commit 7d591ab

Please sign in to comment.