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 4.1 - 2008-05-29

  • INCOMPATIBLE CHANGE: renamed xxx_ip functions to xxx_address which mirrors their purpose better (old names still available for a while). Also moved AnyEvent::DNS::addr to AnyEvent::Socket::resolve_sockaddr.
  • implement AnyEvent->time and AnyEvent->now.
  • fix IPv6 support in pack_sockaddr.
  • officially un-experimentalise all newly introduced code.
  • support unix domain sockets everywhere by specifying a host of "unix/" and the pathname as service.
  • implement an activity timeout in AnyEvent::Handle.
  • added a regex read type to AnyEvent::Handle.
  • added a json read/write type to AnyEvent::Handle.
  • always croak in on_error in AnyEvent::Handle.
  • document how to subclass AnyEvent::Handle.
  • implement AnyEvent::Util::fork_call.
  • add support for IPv6 nameservers and nameserver statements.
  • work around _yet_ _another_ windows perl bug in where empty select masks cause errors in the pure perl backend (this workaround cannot be implemented for the other event loops, but EV also works around this).
  • supply AnyEvent::Socket::address_type and make good use of it.
  • clarify and fix the Handle documentation w.r.t $self vs. $handle vs. callback arguments.
  • add some recommends to the META.yml.

Modules

fully asynchronous DNS resolution
non-blocking I/O on file handles via AnyEvent
AnyEvent adaptor for EV
AnyEvent adaptor for Event
AnyEvent adaptor for Event::Lib
AnyEvent adaptor for Glib
AnyEvent adaptor for POE
Pure-Perl event loop and AnyEvent adaptor for itself
AnyEvent adaptor for Qt
AnyEvent adaptor for Tk
useful IPv4 and IPv6 stuff.
various utility functions.

Provides

in lib/AnyEvent.pm
in lib/AnyEvent.pm
in lib/AnyEvent.pm
in lib/AnyEvent.pm
in lib/AnyEvent/Impl/Qt.pm
in lib/AnyEvent/Impl/Qt.pm