--- AnyEvent/lib/AE.pm 2010/08/31 00:59:55 1.8 +++ AnyEvent/lib/AE.pm 2011/08/04 09:14:01 1.9 @@ -26,7 +26,7 @@ }; # called when event loop idle (if applicable) - my $w = AE::idle { ... }; + my $w = AE::idle sub { ... }; my $w = AE::cv; # stores whether a condition was flagged $w->send; # wake up current and all future recv's