Test::Trap::Builder::TempFile.3pm

Langue: en

Autres versions - même langue

Version: 2009-12-29 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

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

VERSION

Version 0.2.1

DESCRIPTION

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

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

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

AUTHOR

Eirik Berg Hanssen, "<ebhanssen@allverden.no>" Copyright 2006-2008 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.