⭐ in reply to How do I delete a directory without emptying it first?
use File::Path; rmtree([ '/tmp/foo', '/tmp/bar' ]); [download]