in reply to Deleting a Directory

Hello ,

it might be not working properly because there are some files inside the directory you want to delete

you'll need to use rmtree function inside File::Path instead of using rmdir built-in function

NOTE : take my advice only , and ONLY if you dont need the files inside the directory you want to delete