To answer your immediate question, you've already got it right. Your example is exactly how you'd pass two hashes to a subroutine and get a hash as a result. That having been said, it's not the best way to do it mind you. As others have pointed out, using hash refs would certainly be the way to go here.
Update: Er, don't know what I was smoking when I posted that. Please disregard.
In reply to Re: passing two hashs to a subroutine
by vek
in thread passing two hashs to a subroutine
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |