in reply to Re^2: Merge Hashrefs
in thread Merge Hashrefs
Of course!
Since there are many possible interpretations of what a "deep merge" should do, you should script it in a recursive way after your well defined needs.¹
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
see also how to merge hash deeply ?
¹) for example what do you expect to happen if both hashes have the same scalar entry?
%a = (x=>1}; %b = (x=>2);
|
|---|