Guided tour of Directory::Scratch.
First, create a Directory::Scratch object
Then create a file.
We dont't have to remember $file, we can get the full path later:
exists also checks for existence, of course.
exists
That's all for now.
To install Directory::Scratch, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Directory::Scratch
CPAN shell
perl -MCPAN -e shell install Directory::Scratch
For more information on module installation, please visit the detailed CPAN module installation guide.