Course of Raku / Objects, I/O, and exceptions / Input and output / Deleting files and directories / Exercises
Clear a directory
Problem
Create a directory cache with mkdir and put
two files into it. Then delete everything: remove the two files, remove
the now-empty directory, and print whether the directory still
exists.
Example
The program prints:
False