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 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