The Perl 5 module AnyEvent::AIO is an AnyEvent user. Loading it will install the necessary magic to seamlessly integrate IO::AIO into AnyEvent, i.e. you no longer need to concern yourself with calling IO::AIO::poll_cb or any of that stuff.