File::Fu::Dir::Temp3pm
Temporary directories
Usage
use File::Fu;my $dir = File::Fu->temp_dir;
new
my $tmp = File::Fu::Dir::Temp->new($dir, 'foo');
chdir
my $dir = $dir->chdir;
rename
Same as the base rename(), but promotes the temp dir to a regular Dir object (prevents any cleanup actions.)
$temp = $temp->rename($dest);
nocleanup
Disable autocleanup.
$dir->nocleanup;
Destroy
Called automatically when the object goes out of scope.
$dir->DESTROY;
No warranty
Absolutely, positively NO WARRANTY, neither express or implied, is offered with this software. You use this software at your own risk. In case of loss, no person or entity owes you anything whatsoever. You have been warned.
Releases
8 releases since Debian 6.0 (Squeeze); the text changed 3 times.