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.8 - 2009-07-06

  • AnyEvent::DNS did not properly follow CNAME records with uppercase targets.
  • AnyEvent::DNS would errornously return AAAA records with v4 mapped addresses (a faulty record) as ipv4 addresses, causing AnyEvent::Socket to throw an exception.
  • added new module AnyEvent::TLS for easier SSL/TLS context creation, with many options including hostname verification, secure default configuration, lots of documentation and, predefined diffie-hellman keys for perfect forward security and much more. get it while it's still fresh!
  • use AnyEvent::TLS in AnyEvent::Handle for context management.
  • load AnyEvent::Handle only on demand in AnyEvent::DNS, so AnyEvent::Socket users have smaller memory footprint in the common case.
  • add AnyEvent::Handle->push_shutdown method.
  • add an additional error message parameter to AnyEvent::Handle's on_error callback (for TLS, $! is still available).
  • add AnyEvent::Handle on_starttls/on_stoptls callbacks.
  • make AnyEvent::Handle more robust against early conenction failures (during new), and return C<undef> in that case from the constructor.
  • AnyEvent::Handle will now try to load only JSON::XS first, then fall back to JSON.
  • format_ipv4/format_ipv6 are now exported by default, for symmetry, and because it was documented that way.

Documentation

an introductory tutorial to AnyEvent

Modules

provide framework for multiple event loops
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 IO::Async
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.
force strict mode on for the whole process
SSLv2/SSLv3/TLSv1 contexts for use in AnyEvent::Handle
various utility functions.

Provides

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