Perl function references-delete Function - Perl Scripting

Define delete function?what is the syntax for it?


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 −

Return Value

This function returns undef if the key does not exist and value associated with the deleted hash key or array index.

All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd Protection Status

Perl Scripting Topics