Test::Trap::Builder::TempFile - Output layer backend using File::Temp


Test-Trap documentation  | view source Contained in the Test-Trap distribution.

Index


NAME

Top

Test::Trap::Builder::TempFile - Output layer backend using File::Temp

VERSION

Top

Version 0.2.1

DESCRIPTION

Top

This module provides an implementation tempfile, based on File::Temp, for the trap's output layers. Note that you may specify different implementations for each output layer on the trap.

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

CAVEATS

Top

Using File::Temp, we need privileges to create tempfiles.

We need disk space for the output of every trap (it should clean up after the trap is sprung).

Disk access may be slow -- certainly compared to the in-memory files of PerlIO.

Threads? No idea. It might even work correctly.

BUGS

Top

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

AUTHOR

Top

Eirik Berg Hanssen, <ebhanssen@allverden.no>

COPYRIGHT & LICENSE

Top


Test-Trap documentation  | view source Contained in the Test-Trap distribution.