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

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

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

NNAAMMEE #

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

DDEESSCCRRIIPPTTIIOONN #

 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.

SSYYNNOOPPSSIISS #

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

     # IPC is now enabled

EENNVVIIRROONNMMEENNTT VVAARRIIAABBLLEESS #

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'
     This can be used to set the template for the IPC temp dir. The
     template should follow template specifications from File::Temp.

SSEEEE AALLSSOO #

 See Test2::IPC::Driver for methods.

SSOOUURRCCEE #

 The source code repository for Test2 can be found at
 _h_t_t_p_:_/_/_g_i_t_h_u_b_._c_o_m_/_T_e_s_t_-_M_o_r_e_/_t_e_s_t_-_m_o_r_e_/.

MMAAIINNTTAAIINNEERRSS #

 Chad Granum <exodist@cpan.org>

AAUUTTHHOORRSS #

 Chad Granum <exodist@cpan.org>

CCOOPPYYRRIIGGHHTT #

 Copyright 2020 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 _h_t_t_p_:_/_/_d_e_v_._p_e_r_l_._o_r_g_/_l_i_c_e_n_s_e_s_/

perl v5.36.3 2023-02-15 Test2::IPC::Driver::Files(3p)