Thank you, that is the simplest solution. Additionally it allows for env var PERL_TEST_TEMPDIR_TINY_NOCLEANUP to be set to 1 and keep the temp files at the end of the successful test anyway.
I am tempted to fork and rename it to something which does not contain "Test::" as I intend to use this in code other than testing :)
In reply to Re^2: "localise" package's our variables? They affect other packages (e.g. File::Temp::KEEP_ALL)
by bliako
in thread "localise" package's our variables? They affect other packages (e.g. File::Temp::KEEP_ALL)
by bliako
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |