in reply to Removal of A Directory
Second, placing variables inside single quotes does not expand them to their value. And you don't need to use double quotes either:$dir = $in{sub_dir};
But I have an odd feeling you mean to do:rmtree([$dir_location, $dir], 1, 1);
rmtree([ "$dir_location/$dir" ], 1, 1);
|
|---|