Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: d52c76c5bc
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 10 lines (8 sloc) 0.466 kb
1 2 3 4 5 6 7 8 9
Stupid event loop, interface modeled after Perl 5's AnyEvent.
Use perl6 --doc lib/MuEvent.pm for some basic documentation and tests
if you want more.

If you want some more-less real life example, example.pl shows a simple
application, which outputs stuff after 2 seconds, every 5 seconds,
and prints everything that is sent to port 6666 on the local machine.
It also prints "Nothing better to do" and sleeps for one second if it
currently has nothing better to do.
Something went wrong with that request. Please try again.