Scroll to navigation

Test::Trap::Builder::PerlIO(3pm) User Contributed Perl Documentation Test::Trap::Builder::PerlIO(3pm)

NAME

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

VERSION

Version 0.3.5

DESCRIPTION

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).

CAVEATS

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.

BUGS

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

AUTHOR

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

COPYRIGHT & LICENSE

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.

2022-07-28 perl v5.40.0