File::path - removing all files and directories keeping the root directory in place
keep_root => $bool
When set to a true value, will cause all files and subdirectories to be removed, except the initially specified directories. This comes in handy when cleaning out an application's scratch directory.
No comments:
Post a Comment