Q. Which method in Perl is used to delete a directory?
β
Correct Answer: (B)
rmdir
Explanation: In Perl, rmdir is used to delete a directory.