Test2::IPC(3perl)
π Test2::IPC β bestie edition β¨
okay so real talk: this is Test2::IPC, a lil module from the Perl Programmers Reference Guide that turns ON inter-process communication so your tests can actually talk across threads and forks π§΅π΄ no cap.
πΈ NAME πΈ
Test2::IPC β turn on IPC for threading or forking support π
β¨ SYNOPSIS β¨
You should use Test2::IPC; as early as possible in your test file. fr fr, like the earliest. first thing. main character energy from line one π
If you import this module after API initialization, it will attempt to retrofit IPC onto the existing hubs. it's giving "we'll make it work but why would you do that to us" π
use Test2::IPC;
π« DISABLING IT
You can use no Test2::IPC; to disable IPC for good. like, permanently permanently. no takebacks π
You can also use the T2_NO_IPC env var to do the same thing π
no Test2::IPC;
π EXPORTS π
All exports are optional β take 'em or leave 'em, no pressure bestie π«Ά
cull()β Cull allows you to collect results from other processes or threads on demand. you want the tea? you go get the tea ββ¨
π₯ SOURCE π₯
The source code repository for Test2 can be found at <https://github.com/Test-More/test-more/> β go look, it's iconic π
π MAINTAINERS π
Chad Granum <exodist@cpan.org>
π AUTHORS π
Chad Granum <exodist@cpan.org>
π COPYRIGHT π
Copyright Chad Granum <exodist@cpan.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See <https://dev.perl.org/licenses/>
friendly reminder bestie: every flag, every env var, every default stays exactly where it was. the vibe is new, the facts are untouched π
that's the whole page!! written to match perl v5.44.0, dated 2026-10-17, from the Test2::IPC(3perl) manual β slay, bye π¦β
π¦ where this page comes from
- arch rolling: perl 5.44.0-1 Β· Artistic-1.0-Perl AND 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