No description
- Perl 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| dist | ||
| lib/File | ||
| tests | ||
| LICENSE | ||
| Makefile.PL | ||
| README.md | ||
NAME
File::TempTree - Create temporary directory and steward it
VERSION
version 1.3
SYNOPSIS
# Create a temporary directory object
$tmpdir = File::TempTree->new( 'directory' => "/var/tmp/myapp.$$" );
$tmpfile = $tmpdir->tempname;
print "Creating new temp file as $tempfile\n";
open( $of, $tmpfile, "w" );
# Deletes all files and directories under original directory
# and then deletes the directory itself
$tmpdir = undef;
# Create a named sub-directory under $TMPDIR (will have unique sequence added)
$tmpdir = File::TempTree->new( 'directory' => "myapp.$$" );
# Create a unique named sub-directory under $TMPDIR
$tmpdir = File::TempTree->new();
# Create new subdirectory
$inbound = $tmpdir->ensure_work_subdir( 'inbound' );
$outboundjob = $tmpdir->ensure_work_subdir( 'outbound', $job_nbr );
DESCRIPTION
TODO: slightly more detailed description
PROPERTIES
-
TODO: some property
TODO: some property description
METHODS
-
TODO: some_method()
TODO: description of the method
COMPATIBILITY
File::TempTreerequiresFile::DirScanandClass::Accessorize.
AUTHOR
Bernard Quatermass toolsmith@quatermass.co.uk
COPYRIGHT AND LICENSE
This software is copyright (c) 2021 by Bernard Quatermass.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.