Function to delete file in Perl is
-
delete
-
unlink
-
rename
-
deletefile
B
Correct answer
Explanation
unlink is the Perl function for deleting files - it removes the link between a filename and the file's data. "delete" (option A) is for removing hash elements, rename (option C) moves files, and deletefile doesn't exist as a built-in.