"be consistent" | |
PerlMonks |
Re: Passing multiple hashes?by VSarkiss (Monsignor) |
on Dec 11, 2001 at 05:37 UTC ( [id://130835]=note: print w/replies, xml ) | Need Help?? |
Perl passes everything to your subroutine in the @_ array, so it can't tell where one hash ends and the other begins. Everything will end up in your first hash, as you've found. TIMTOWTDI, but probably the easiest is to pass references instead:
HTH
In Section
Seekers of Perl Wisdom
|
|