Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (13 sloc) 0.304 kB
#!/usr/bin/env perl
# This is pretty close to the final syntax.
use warnings;
use strict;
use lib qw(../lib);
use Reflex::Interval;
use ExampleHelpers qw(eg_say);
my $t = Reflex::Interval->new(
interval => 1,
auto_repeat => 1,
on_tick => sub { eg_say("timer ticked") },
);
$t->run_all();
Jump to Line
Something went wrong with that request. Please try again.