in reply to Beginner Hash Element Comparison

A good place to start is Beginning Perl for Bioinformatics.
Read up on data types - scalar, arrays and hashes Data Types and Variables.