Perl delete Function
This function deletes the specified keys and associated values from a hash, or the specified elements from an array. The operation works on individual elements or slices.
Following is the simple syntax for this function −
This function returns undef if the key does not exist and value associated with the deleted hash key or array index.