There's more than one way to do things | |
PerlMonks |
Re: Re: Re: Union of hashesby AidanLee (Chaplain) |
on Feb 07, 2002 at 13:18 UTC ( [id://143865]=note: print w/replies, xml ) | Need Help?? |
They are guaranteed to be in the same order. Note though that in both your solution and Biker's solution this is a union of keys. Entries in %b will overwrite entries in %a with their values when they share the same key. There's really no way around this, and it's probably what IvorW wants, but I thought I'd mention it for safety's sake.
In Section
Seekers of Perl Wisdom
|
|