Leon Timmermans > Linux-Epoll-0.004 > Linux::Epoll::Util

Download:
Linux-Epoll-0.004.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.004   Source  

NAME ^

Linux::Epoll::Util - Utility functions for Linux::Epoll

VERSION ^

version 0.004

DESCRIPTION ^

This module provides a few utility functions for Linux::Epoll

FUNCTIONS ^

event_names_to_bits($names)

Convert $names into a event bitset. $names must either be a string from the set described in Linux::Epoll, or an arrayref containing such strings.

event_bits_to_names($bits)

Convert bitset $bits into an arrayref of strings containing the names of the bits that are set.

event_bits_to_hash($bits)

Convert a bitset into a hashref, with keys being the names of the bits that are set and the values being true.

AUTHOR ^

Leon Timmermans <leont@cpan.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2010 by Leon Timmermans.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: