debian man page for test::tempdir::handle

Query: test::tempdir::handle

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Test::TempDir::Handle(3pm)				User Contributed Perl Documentation				Test::TempDir::Handle(3pm)

NAME
Test::TempDir::Handle - A handle for managing a temporary directory root.
SYNOPSIS
use Test::TempDir::Handle; my $h = Test::TempDir::Handle->new( dir => dir("t/tmp") ); $h->empty; # ... $h->cleanup; # will delete on success by default
DESCRIPTION
This class manages a temporary directory.
ATTRIBUTES
dir The Path::Class::Dir that is being managed. lock An optional lock object (File::NFSLock). Just kept around for reference counting. cleanup_policy One of "success", "always" or "never". "success" means that "cleanup" deletes only if "test_builder" says the tests have passed. test_builder The Test::Builder singleton.
METHODS
empty Cleans out the directory but doesn't delete it. delete Cleans out the directory and removes it. cleanup Calls "delete" if the "cleanup_policy" dictates to do so. This is normally called automatically at destruction. perl v5.10.0 2009-08-10 Test::TempDir::Handle(3pm)
Related Man Pages
test::builder::module(3pm) - osx
dbix::searchbuilder::handle::mysql(3pm) - debian
test::reporter::transport::file(3pm) - debian
test::tempdir::factory(3pm) - debian
test::builder::module(3pm) - suse
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
Is UNIX an open source OS ?
Find columns in a file based on header and print to new file
A (ksh) Library For and From UNIX.com
My first PERL incarnation... Audio Oscillograph