1.

What is the use of the delete function in Perl? Mention its syntax.

Answer»

PROGRAMMERS use the delete function to REMOVE a hash element from the hash group. It eliminates both KEYS and their respective value elements from the hash. The SYNTAX of the delete function is: 

delete($hash_name{key_name});


Discussion

No Comment Found