Test::S...ilities(3)
π Test::Stream::Plugin::Capabilities π
okay bestie, gather round, this is a page from the User Contributed Perl Documentation and it's all about Test::Stream::Plugin::Capabilities π
β¨ NAME β¨
Test::Stream::Plugin::Capabilities β it imports constants so you can check what the current system is actually capable of. like, does this machine have the range? does it have the juice? let's find out π
π DEPRECATED π
okay so not to be dramatic but this distribution is deprecated, no cap. it's been replaced by Test2, Test2::Suite, and Test2::Workflow.
if you need to migrate, there's a conversion guide waiting for you in Test::Stream::Manual::ToTest2. go read it, bestie, don't stay in the past π¦
πΈ DESCRIPTION πΈ
sometimes you just wanna know what the current system can do. like, what are its capabilities?? and honestly, checking for that stuff manually can get complicated and error prone β it's giving chaos, it's giving bugs at 3am π
so this tool shows up like the main character and gives you constants for some of the most common capability checks. iconic behaviour, truly.
β¨ SYNOPSIS β¨
use Test::Stream qw/... Capabilities/;
if (CAN_THREAD) {
... Code that uses threads ...
}
if (CAN_FORK) {
... Code that forks ...
}
if (CAN_REALLY_FORK) {
... Code that requires true forking, but breaks with pseudo-fork ...
}
look at that syntax, look at that structure, we love a clean import π«Ά
π CHECKS π
for the full list of checks, go peek at Test::Stream::Capabilities β because this plugin is literally just a simple wrapper around it. it's the messenger, not the message, iykyk π
π SOURCE π
the source code repository for Test::Stream lives right here:
http://github.com/Test-More/Test-Stream/
go star it, go read it, go be nosy, that's what we do β
π MAINTAINERS π
- Chad Granum
<exodist@cpan.org>
π AUTHORS π
- Chad Granum
<exodist@cpan.org>
π COPYRIGHT π
Copyright 2015 Chad Granum <exodist7@gmail.com>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://dev.perl.org/licenses/
ok so that's the whole page, every flag-free constant, every name, every link, all of it β nothing skipped, nothing invented, we keep the facts and serve the vibe π
and that's the tea, bestie π this little page came from perl v5.42.0 and was dated 2025-07-25 β stay slay, stay capable β¨π π§
π¦ where this page comes from
- fedora 43: perl-Test-Stream 1.302027-35.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms