Test2::IPC::Driver::Files(3pm) Perl Programmers Reference Guide Test2::IPC::Driver::Files(3pm)

# [NAME](#NAME)

Test2::IPC::Driver::Files - Temp dir + Files concurrency model.

# [DESCRIPTION](#DESCRIPTION)

This is the default, and fallback concurrency model for Test2. This sends events between processes and threads using serialized files in a temporary directory. This is not particularly fast, but it works everywhere.

# [SYNOPSIS](#SYNOPSIS)

```
    use Test2::IPC::Driver::Files;
    # IPC is now enabled
```

# [ENVIRONMENT VARIABLES](#ENVIRONMENT_VARIABLES)

[T2\_KEEP\_TEMPDIR=0](#T2_KEEP_TEMPDIR=0)

When true, the tempdir used by the IPC driver will not be deleted when the test is done.

[T2\_TEMPDIR\_TEMPLATE='test2-XXXXXX'](#T2_TEMPDIR_TEMPLATE=)

This can be used to set the template for the IPC temp dir. The template should follow template specifications from File::Temp.

# [SEE ALSO](#SEE_ALSO)

See Test2::IPC::Driver for methods.

# [SOURCE](#SOURCE)

The source code repository for Test2 can be found at &lt;https://github.com/Test-More/test-more/&gt;.

# [MAINTAINERS](#MAINTAINERS)

[Chad Granum &lt;exodist@cpan.org&gt;](#Chad)

# [AUTHORS](#AUTHORS)

[Chad Granum &lt;exodist@cpan.org&gt;](#Chad~2)

# [COPYRIGHT](#COPYRIGHT)

Copyright Chad Granum &lt;exodist@cpan.org&gt;.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See &lt;https://dev.perl.org/licenses/&gt;

2026-10-26 perl v5.44.0

---

Document: Test2::IPC::Driver::Files(3pm) from perl 5.44.0-r3 (Chainguard OS)
Source: https://github.com/Perl/perl5.git
