in reply to "localise" package's our variables? They affect other packages (e.g. File::Temp::KEEP_ALL)
If the latter, the following should work:
$File::Temp::KEEP_ALL = 1; my $tmpdir = File::Temp::tempdir(); $File::Temp::KEEP_ALL = 0;
Sorry, too busy to properly test at the moment.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: "localise" package's our variables? They affect other packages (e.g. File::Temp::KEEP_ALL)
by ikegami (Patriarch) on Oct 10, 2024 at 16:16 UTC |