Perl has three functions to handle hashes, defined, exists, and delete. Those functions test if a given key is defined, if there is an entry existing for a defined key, and last, but not least, delete one entry.
One important thing to keep in mind when working with hashes is that
perl uses hashing to allow an efficient access of the stored
elements. Due to this, it is not possible to find out in which order
the hash has been constructed. It is possible to convert hashes to
arrays and vice versa
, but the order will nearly always be lost.