I have the "forks" version ready, and will also release a "threads" version.
My question is - what do you call this? "Interval" is already taken and means something else. "forks::interval" and "threads::interval" sound nice but I haven't contacted the forks/threads module maintainers yet.
Usage looks like this:
my $interval = whatever::Interval->setInterval(
action => \&do_stuff,
interval => 1000, # One second
# "do_stuff()" gets executed once every second.
Thoughts? Ideas? Does this functionality already exist in another module?