18 Sep 2019 01:11:59 UTC
- Distribution: AnyEvent
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (13)
- Testers (6337 / 137 / 0)
- KwaliteeBus factor: 2
- 48.47% Coverage
- License: unknown
- Activity24 month
- Download (297.7KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
AnyEvent::Strict - force strict mode on for the whole process
use AnyEvent::Strict; # strict mode now switched on
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_STRICTenvironment variable (see AnyEvent). However, this module can be loaded manually at any time.
Marc Lehmann <email@example.com> http://anyevent.schmorp.de