AnyEvent::Strict(3)
π AnyEvent::Strict β bestie edition π
okay so picture this: AnyEvent::Strict(3), a whole little Perl module whose entire personality is force strict mode on for the whole process. that's it. that's the whole vibe. she's the friend who reads the group chat receipts and calls out every typo β¨
πΈ NAME πΈ
AnyEvent::Strict β literally just forces strict mode on for the entire process, no cap π
π¦ SYNOPSIS π¦
like, this is the whole thing, it's giving minimalist icon:
use AnyEvent::Strict;
# strict mode now switched on
that's it. one line and the vibe check is passed π
π DESCRIPTION π
so this module is the implementation of AnyEvent's strict mode β she's the main character of "we are going to be careful now" energy π
the way that loading her makes AnyEvent check all the arguments to AnyEvent-methods?? obsessed. every single one gets looked at. the tradeoff is that she is, lowkey, slower β and ngl sometimes much slower, like the argument checking can literally take longer than the actual function itself π so yeah, she's thorough but she is not free. periodt.
she also wraps all your callbacks to check for modifications of $_ π and if that happens? that's a programming bug inside the watcher callback, fr fr. she's not being dramatic, she's being accurate π
π«Ά normal bestie behaviour: you don't usually load this module yourself. you get her indirectly through the PERL_ANYEVENT_STRICT environment variable instead (peep AnyEvent for the deets). but like β if you want to load her manually, you absolutely can, at any time. she's always down. no appointment needed π
π AUTHOR π
the icon behind it all:
- Marc Lehmann
<schmorp@schmorp.de> http://anyevent.schmorp.de
β¨ and that's the whole page, bestie β brought to you by perl v5.42.0, dated 2019-09-18, filed under AnyEvent::Strict(3). go forth and be strict πππ¦
π¦ where this page comes from
- opensuse-leap 16.0: perl-AnyEvent 7.17-160000.2.2 Β· GPL-1.0-or-later OR Artistic-1.0
- opensuse-leap 16.0: perl-AnyEvent 7.17-160000.2.2 Β· GPL-1.0-or-later OR Artistic-1.0
- opensuse-leap 16.0: perl-AnyEvent 7.17-160000.2.2 Β· GPL-1.0-or-later OR Artistic-1.0
- opensuse-leap 16.0: perl-AnyEvent 7.17-160000.2.2 Β· GPL-1.0-or-later OR Artistic-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms