TEST2::IPC::DRIVER::FILES(3perl)

πŸ’– NAME πŸ’–

Test2::IPC::Driver::Files β€” the temp dir + files concurrency model, bestie. That's the whole vibe. πŸ—‚οΈβœ¨


🌸 DESCRIPTION 🌸

Okay so listen. This is the default concurrency model for Test2, and it's also the fallback one β€” like the reliable friend who shows up no matter what. πŸ‘‘

What does it actually do? It sends events between processes and threads by writing serialized files into a temporary directory. That's the whole trick. It is not particularly fast β€” ngl, it's giving "walking instead of teleporting" β€” but the way that it works everywhere?? Iconic. It just works. Everywhere. Periodt. πŸ’…


✨ SYNOPSIS ✨

use Test2::IPC::Driver::Files;

# IPC is now enabled

That's it. You load it, IPC is on, we move. πŸ¦‹


πŸŽ€ ENVIRONMENT VARIABLES πŸŽ€

  • T2_KEEP_TEMPDIR=0 β€” when this is true, the tempdir that the IPC driver uses will not get deleted when the test is done. So if you're the nosy type who wants to peek at what's left behind (no judgment, same), set this. Otherwise? Gone. Poof. πŸ’¨
  • T2_TEMPDIR_TEMPLATE='test2-XXXXXX' β€” this one sets the template for the IPC temp dir, and lowkey it has rules: the template should follow the template specifications from File::Temp. So don't just freestyle it, okay? Respect the XXXXXX. 🧚

πŸ’œ SEE ALSO πŸ’œ

  • See Test2::IPC::Driver for methods. Go read that one too, bestie, it's the whole method situation. πŸ“–

🌈 SOURCE 🌈

The source code repository for Test2 can be found at <https://github.com/Test-More/test-more/>. Go star it or whatever. ⭐


πŸ‘‘ 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/>


kk that's the whole page, you ate that fr fr πŸ’– this was perl v5.44.0, dated 2026-10-17 β€” mwah, catch you on the next manpage, bestie πŸŽ€βœ¨

πŸ“¦ 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