in reply to Re: File::Temp does not cleanup() on demand
in thread File::Temp does not cleanup() on demand
Thanks choroba. This is part of a test file in which I sometimes want to keep the temp dirs and sometimes to delete them. I want to keep them when the test fails and I need to inspect the temp dirs for debugging info. I want the temp dirs to be erased only when test is successful. So I imagined I could just call cleanup() at the end.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: File::Temp does not cleanup() on demand
by choroba (Cardinal) on Oct 05, 2023 at 13:40 UTC | |
by bliako (Abbot) on Oct 05, 2023 at 13:48 UTC | |
|
Re^3: File::Temp does not cleanup() on demand
by swl (Prior) on Oct 05, 2023 at 21:48 UTC |