Copyright © tutorialspoint.com
Syntax
Definition and UsageUndefines the value of EXPR. Use on a scalar, list, hash, function, or typeglob. Use on a hash with a statement such as undef $hash{$key}; actually sets the value of the specified key to an undefined value. If you want to delete the element from the hash, use the delete function. Return Value
Example
It will produce following results:
|
Copyright © tutorialspoint.com