in reply to Get the Keys in the Hash
tyes References Quick Reference will likely be of help and will explain to you how to handle the references. In short:
keys %{ $hashref } [download]
will give you all keys in your hash(reference).