in reply to Need help with using Hash

If you don't know what a hash is (and how you use it), I recommend to read the section about hashes in perlintro. More details can be found in the perldata document.