in reply to
Re: Merge Hashrefs
in thread
Merge Hashrefs
Well I guess
that
is simple enough!
Thank you
oakbox
Comment on
Re^2: Merge Hashrefs
Replies are listed 'Best First'.
Re^3: Merge Hashrefs
by
BUU
(Prior)
on Jan 10, 2005 at 20:54 UTC
Note that the above is *really* inefficient (or at least it was). You might consider:
@hash1{ keys %hash2 } = values %hash2;
Which is more efficient.
[reply]
[d/l]
In Section
Seekers of Perl Wisdom