In Perl, hashes are a collection of key-value pairs having unordered forms. In this collection, the keys are unique strings, and their corresponding values are scalar elements. Hashes are preceded with a percent (%) sign. They get indexed and accessed through their key values.