The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

EntityModel::EventLoop::Perl - basic Perl implementation for EntityModel 'event loop'

VERSION

version 0.001

DESCRIPTION

Used only for testing in the absence of a real event loop.

METHODS

defer

'Defers' execution of the given codeblock. Actually does nothing of the sort, it just runs the code immediately.

sleep

Runs the given code block after an interval. Blocks execution until the timer expires.

Instance method which expects an interval (in seconds) and a single coderef.

SEE ALSO

AUTHOR

Tom Molesworth <cpan@entitymodel.com>

LICENSE

Copyright Tom Molesworth 2011-2012. Licensed under the same terms as Perl itself.