merge
# given {1..8}
$hash->merge({7,7,9,9}); # {1=>2,3=>4,5=>6,7=>7,9=>9}
The merge method returns a hash reference where the elements in the hash and the elements in the argument(s) are merged. This operation performs a deep merge and clones the datasets to ensure no side-effects. The merge behavior merges hash references only, all other data types are assigned with precendence given to the value being merged. This method returns a Data::Object::Hash object.
merge() : HashObject
method
5 POD Errors
The following errors were encountered while parsing the POD:
- Around line 10:
Unknown directive: =name
- Around line 14:
Unknown directive: =usage
- Around line 20:
Unknown directive: =description
- Around line 29:
Unknown directive: =signature
- Around line 33:
Unknown directive: =type