Help language development. Donate to The Perl Foundation
sub merge-hashes( *@hashes ) returns Hash
Merge any number of Hashes together.
Any number of Hashes to merge together.
sub merge-hash( %first, %second, Bool:D :$deep = Bool::True, Bool:D :$positional-append = Bool::True ) returns Hash
Merge two hashes together.
The original Hash to merge the second Hash into.
The second hash, which will be merged into the first Hash.
Boolean to set whether Associative objects should be merged on their own. When set to False, Associative objects in %second will overwrite those from %first.
Boolean to set whether Positional objects should be appended. When set to False, Positional objects in %second will overwrite those from %first.