Catmandu::Fix::set_field3pm
Add or change the value of a hash key or array index
Usage
# Change the value of 'foo' to 'bar 123'set_field(foo, 'bar 123')# Change a deeply nested keyset_field(my.deep.nested.key, hi)# If the second argument is omitted the field has a null valueadd_field(foo)
Overview
Contrary to "add_field", this will not create the intermediate structures if they are missing.
Releases
6 releases since Debian 8 (Jessie); the text changed 5 times.