use AnyEvent; use AnyEvent::Loop; # this module gets loaded automatically as required
If you want to use this module instead of autoloading another event loop you can simply load AnyEvent::Loop before creating the first watcher.
Naturally, it supports all features of AnyEvent.
See AnyEvent::Loop for more details on performance characteristics.
Marc Lehmann <schmorp@schmorp.de> http://anyevent.schmorp.de