Test::...ERBOSE(3pm)
π Test::...ERBOSE(3pm) β a.k.a. Test::Effects::VERBOSE π
okay bestie, pull up a chair π this is the manpage for Test::Effects::VERBOSE, a tiny little Perl module that flips the default chattiness of Test::Effects on and off β and it does it lexically, which is the fancy word for "only in the block of code you're standing in rn". iykyk.
β¨ NAME β¨
Test::Effects::VERBOSE β set Test::Effects verbosity, but lexically π
πΈ VERSION πΈ
this doc describes Test::Effects::VERBOSE version 0.000001. yes girl, one-millionth. it's giving "baby's first version number" πΌ
π¦ SYNOPSIS π¦
{
use Test::Effects::VERBOSE;
# Test::Effects defaults to verbose in this scope
{
no Test::Effects::VERBOSE;
# Test::Effects defaults to non-verbose in this scope
}
# Test::Effects still verbose here
}
# Test::Effects reverts to original behaviour here
see how the no only killed the vibe inside its own little block?? and then the outer block got its verbose back like nothing ever happened?? that's the whole point and it's iconic π
π DESCRIPTION π
so, using this module changes the default behaviour of Test::Effects's effects_ok() test. lowkey a big deal.
normally that test reports tersely β unless you explicitly tell it otherwise by using VERBOSE(). but if you use this module inside a code block, then effects_ok() defaults to verbose reporting for that block's lexical scope. so it's like, scoped chattiness. main character energy, but local. β¨
β οΈ but heads up bestie β if you pass an explicitVERBOSE => $booleanoption in any call to"<effects_ok(), that overrides the lexical default. explicit always wins, no cap. π«Ά
π INTERFACE π
use Test::Effects::VERBOSE;
effects_ok defaults to verbose reporting for the rest of the current lexical scope. turn the volume UP π
no Test::Effects::VERBOSE;
effects_ok defaults to non-verbose reporting for the rest of the current lexical scope. shhh π€«
π DIAGNOSTICS π
None. nothing. not a peep. silence is golden, periodt. π
π CONFIGURATION AND ENVIRONMENT π
Test::Effects::VERBOSE requires no configuration files and no environment variables. zero setup, zero drama, we love a low-maintenance queen π
π§ DEPENDENCIES π§
- requires Perl 5.14 (or better) β so, old enough to be vintage, new enough to slay β
- does not require β but is meaningless without β the
Test::Effectsmodule. like, bestie, this whole thing is a settings knob for that module. without it you're just... a knob with nothing to turn π
π INCOMPATIBILITIES π
None reported. no beef, no drama, everybody gets along π«Ά
π BUGS AND LIMITATIONS π
No bugs have been reported. flawless behaviour (allegedly π).
please report any bugs or feature requests to bug-lib-test-effects@rt.cpan.org, or through the web interface at http://rt.cpan.org. we do read them, fr fr π
π AUTHOR π
Damian Conway "<DCONWAY@cpan.org>" β the icon, the moment, the legend π
β¨
πΈ LICENCE AND COPYRIGHT πΈ
Copyright (c) 2012, Damian Conway "<DCONWAY@cpan.org>". All rights reserved.
this module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. see perlartistic. π
π DISCLAIMER OF WARRANTY π
okay bestie this part is ALL CAPS because it's serious, not because I'm yelling at you. read it. it matters. π«Ά
BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
that's the whole page bestie π¦ this one came off the presses as perl v5.36.0 on 2023-07-17, so go forth, scope your verbosity, and stay hydrated πβ¨
π¦ where this page comes from
- debian trixie: libtest-effects-perl 0.002000-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libtest-effects-perl 0.002000-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libtest-effects-perl 0.002000-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libtest-effects-perl 0.002000-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms