The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 2.00

  • Added IO::EventMux::Dump from José Micó
  • Added new function has_events as suggested by José Micó
  • Added new connect() call as shorthand for creating socket/adding it
  • Use Errno instead of POSIX as this takes less mem and is faster to load.
  • Added support for auto detecting if a socket is in listening mode or not. Listen => 1 on add() is no longer needed.
  • Rename "error_num" to "errno" in error events
  • Add new "Errors" options to add() that returns ICMP errors as error events.
  • Close no longer waits for send buffer to empty
  • Drop support for timeouts pr. file handle
  • Convert to new IO::Buffered and drop support for old Buffered API.
  • Added a lot more error handling, IO::EventMux now croaks when given wrong in a lot of cases.
  • Add credential information to unix sockets on accepted event.
  • Mux now croaks on negativ timeout value

Modules

Multiplexer for sockets, pipes and any other types of filehandles that you can set O_NONBLOCK on and does buffering for the user.
A transparent subclass of IO::EventMux that dumps input/output activity to STDOUT