Subject: | Please document the arguments to the callback functions |
Easily discovered from source-diving, but I couldn't see acutally
documented in POD what the arugments are to the callback function.
Also it would be useful to point towards the Linux::Epoll::Util
functions for converting those bitmasks into useful values.
Or perhaps just provide constants like IO::Epoll does:
$epoll->add($fh, [qw(in out)], sub {
my ($event) = @_;
if($event & EPOLLIN) { ... }
});
--
Paul Evans