Skip to content

Instantly share code, notes, and snippets.

@nihen
Created October 13, 2009 15:15
Show Gist options
  • Save nihen/209269 to your computer and use it in GitHub Desktop.
Save nihen/209269 to your computer and use it in GitHub Desktop.
#!perl
use strict;
use warnings;
use AE;
use Coro::AnyEvent;
use Coro::Timer;
my $timer = AE::timer 0, 1, sub {
Coro::Timer::sleep 1;
print "15\n";
};
AE::cv->recv;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment