I don't see any subroutine in your code, so I don't know how it relates to your problem. Update: That's because I I can't read, but the advice stays the same.
But judging from the text you'll likely need to pass the hashes as references. perlreftut teaches you how.
In reply to Re: two hashes in subroutin
by moritz
in thread two hashes in subroutin
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |