Test::TempDir::Handle man page on Fedora

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

Test::TempDir::Handle(User Contributed Perl DocumentatTest::TempDir::Handle(3)

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.14.1			  2009-08-10	      Test::TempDir::Handle(3)
[top]

List of man pages available for Fedora

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