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 fromFile::Temp. So don't just freestyle it, okay? Respect theXXXXXX. π§
π SEE ALSO π
- See
Test2::IPC::Driverfor 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 π«Ά
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