my $dir = File::Fu->temp_dir;
my $tmp = File::Fu::Dir::Temp->new($dir, 'foo');
my $dir = $dir->chdir;
renameSame as the base rename(), but promotes the temp dir to a regular Dir object (prevents any cleanup actions.)
$temp = $temp->rename($dest);
DESTROYCalled automatically when the object goes out of scope.
AUTHOREric Wilhelm @ <ewilhelm at cpan dot org>
BUGSIf you found this module on CPAN, please report any bugs or feature requests through the web interface at <http://rt.cpan.org>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
If you pulled this development version from my /svn/, please contact me directly.
COPYRIGHTCopyright (C) 2008 Eric L. Wilhelm, All Rights Reserved.
NO WARRANTYAbsolutely, 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.
LICENSEThis program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.