DOKK / manpages / debian 11 / libtest-trap-perl / Test::Trap::Builder::PerlIO.3pm.en
Test::Trap::Builder::PerlIO(3pm) User Contributed Perl Documentation Test::Trap::Builder::PerlIO(3pm)

Test::Trap::Builder::PerlIO - Capture strategy using PerlIO::scalar

Version 0.3.4

This module provides a capture strategy perlio, based on PerlIO::scalar, for the trap's output layers. Note that you may specify different strategies for each output layer on the trap.

See also Test::Trap (:stdout and :stderr) and Test::Trap::Builder (output_layer).

These layers use in-memory files, and so will not (indeed cannot) trap output from forked-off processes -- including system() calls.

Threads? No idea. It might even work correctly.

Please report any bugs or feature requests directly to the author.

Eirik Berg Hanssen, "<ebhanssen@cpan.org>"

Copyright 2006-2014 Eirik Berg Hanssen, All Rights Reserved.

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

2018-10-20 perl v5.26.2