Test::Trap::Builder::SystemSafe man page on MacOSX

Man page or keyword search:  
man Server   23457 pages
apropos Keyword Search (all sections)
Output format
MacOSX logo
[printable version]

Test::Trap::Builder::SUsermContributed Perl Test::Trap::Builder::SystemSafe(3)

NAME
       Test::Trap::Builder::SystemSafe - "Safe" output layer backend using
       File::Temp

VERSION
       Version 0.2.2

DESCRIPTION
       This module provides an implementation systemsafe, based on File::Temp,
       for the trap's output layers.  This implementation insists on reopening
       the output file handles with the same descriptors, and therefore,
       unlike Test::Trap::Builder::TempFile and Test::Trap::Builder::PerlIO,
       is able to trap output from forked-off processes, including system().

       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.

       If the file handle we try to trap using this backend is on an in-memory
       file, it would not be availible to other processes in any case.	Rather
       than change the semantics of the trapped code or silently fail to trap
       output from forked-off processes, we just raise an exception in this
       case.

       If there is another file handle with the same descriptor (f ex after an
       "open OTHER, '>&=', THIS"), we can't get that file descriptor.  Rather
       than silently fail, we again raise an exception.

       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 & LICENSE
       Copyright 2006-2012 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.

perl v5.16.2			  2013-08-25Test::Trap::Builder::SystemSafe(3)
[top]

List of man pages available for MacOSX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net