Permalink
Browse files

Rename test.pl to example.pl and expand README a bit

  • Loading branch information...
1 parent f0dc057 commit fd85995f4e489f34fa12dd1092b207b1e1ebc94b @tadzik committed Oct 24, 2011
Showing with 8 additions and 1 deletion.
  1. +8 −1 README
  2. 0 test.pl → example.pl
View
9 README
@@ -1,2 +1,9 @@
Stupid event loop, interface modeled after Perl 5's AnyEvent.
-More docs and tests coming soon.
+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.
View
File renamed without changes.

0 comments on commit fd85995

Please sign in to comment.