NAME File::Temp::VarOptions - Like File::Temp, but allowing to set options with variables VERSION This document describes version 0.001 of File::Temp::VarOptions (from Perl distribution File-Temp-VarOptions), released on 2021-04-15. SYNOPSIS use File::Temp::VarOptions qw(tempfile tempdir); { local $File::Temp::VarOptions::SUFFIX = '.html'; ($fh, $filename) = tempfile(); # use .html suffix ... ($fh, $filename) = tempfile('XXXXXXXX', SUFFIX=>''); # use empty suffix } ... ($fh, $filename) = tempfile(); # use empty suffi EXPORTS Same as File::Temp's. VARIABLES $TEMPLATE $DIR $SUFFIX $UNLINK $OPEN $TMPDIR $EXLOCK $CLEANUP HOMEPAGE Please visit the project's homepage at . SOURCE Source repository is at . BUGS Please report any bugs or feature requests on the bugtracker website When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature. SEE ALSO A patch version of this functionality: File::Temp::Patch::VarOptions File::Temp AUTHOR perlancar COPYRIGHT AND LICENSE This software is copyright (c) 2021 by perlancar@cpan.org. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.