AnyEvent::Strict(3pm)

AnyEvent::Strict3pm

Force strict mode on for the whole process

Usage

   use AnyEvent::Strict;
   # strict mode now switched on

Overview

This module implements AnyEvent's strict mode.

Loading it makes AnyEvent check all arguments to AnyEvent-methods, at the expense of being slower (often the argument checking takes longer than the actual function). It also wraps all callbacks to check for modifications of $_, which indicates a programming bug inside the watcher callback.

Normally, you don't load this module yourself but instead use it indirectly via the "PERL_ANYEVENT_STRICT" environment variable (see AnyEvent). However, this module can be loaded manually at any time.

Releases

9 releases since Debian 6.0 (Squeeze); the text changed 8 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12
  8. 13
  9. Arch

Author

 Marc Lehmann <[email protected]>
 http://anyevent.schmorp.de

From perl-anyevent 4:7.17-12 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.