1AnyEvent::Strict(3) User Contributed Perl Documentation AnyEvent::Strict(3)
2
3
4
6 AnyEvent::Strict - force strict mode on for the whole process
7
9 use AnyEvent::Strict;
10 # strict mode now switched on
11
13 This module implements AnyEvent's strict mode.
14
15 Loading it makes AnyEvent check all arguments to AnyEvent-methods, at
16 the expense of being slower (often the argument checking takes longer
17 than the actual function). It also wraps all callbacks to check for
18 modifications of $_, which indicates a programming bug inside the
19 watcher callback.
20
21 Normally, you don't load this module yourself but instead use it
22 indirectly via the "PERL_ANYEVENT_STRICT" environment variable (see
23 AnyEvent). However, this module can be loaded manually at any time.
24
26 Marc Lehmann <schmorp@schmorp.de>
27 http://anyevent.schmorp.de
28
29
30
31perl v5.38.0 2023-07-20 AnyEvent::Strict(3)