Install libdirectory-scratch-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libdirectory-scratch-perl
Description:
easy-to-use self-cleaning scratch space
When writing test suites for modules that operate on files, it's often inconvenient to correctly create a platform-independent temporary storage space, manipulate files inside it, then clean it up when the test exits. The inconvenience usually results in tests that don't work everywhere, or worse, no tests at all. . Directory::Scratch aims to eliminate that problem by making it easy to do things right.
Homepage: https://metacpan.org/release/Directory-Scratch
Version: 0.18-1
Section: universe/perl