Fri, 17 May 2024


How do I create or remove (delete) a series of directories?

By: Peter, NetArt Media
Fri, 11 December 2020

use File::Path;

mkpath('a/b/c'); # Create all directories in this path.
rmtree('x/y/z'); # Remove this directory and its subdirectories.


Category: Web Development
Share this post:



See All Scripts






Subscribe for our newsletter

Receive the latest blog posts direct in your mailbox