Multiple choice technology programming languages

The function to a delete file is

  1. untie

  2. delete

  3. unlink

  4. rm

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In Perl, the built-in function to delete a file is unlink. It deletes the list of files specified. The option delete is used for deleting keys/values from hashes, untie dissociates a variable from a package, and rm is a shell command rather than a built-in Perl function.