Perl Functions for Real Hashes

The Perl hash functions are one of the most important category of the built-in Perl functions. The Perl language supplies a lot of functions to manipulate hashes.

Follow the links below to see how to use a few of them.

delete removes a key-value pair from a hash; you can delete an individual element of a hash or a hash slice.
each returns a two-element list that contains a (key, value) pair from a hash or a (index, value) pair from an array
exists it checks whether a particular hash/array element or a subroutine exists
keys use this function to get the indices of an array or the keys of a hash
values use this function to get the values of an array or a hash