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);
In reply to Re^3: Merge Hashrefs
by LanX
in thread Merge Hashrefs
by oakbox
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |