in reply to passing two hashs to a subroutine
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: passing two hashs to a subroutine
by BrowserUk (Patriarch) on Oct 18, 2003 at 20:42 UTC |