Your issue is addressed perlfaq4, though not directly. Take a look at How do I sort an array by (anything)?, How do I process an entire hash? and How do I sort a hash (optionally by value instead of key)?. If you review those articles and are still lost, assembled some code(even if it doesn't work correctly) and post again for further guidance.
In reply to Re: Compare hash !
by kennethk
in thread Compare hash !
by kipo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |