Catmandu::Fix::set_hash(3pm)

Catmandu::Fix::set_hash3pm

Add or change the value of a hash key or array index to a hash

Usage

   # Change the value of 'foo' to an empty hash
   set_hash(foo)
   # Or a hash with initial contents
   set_hash(a: b, c: d)

Overview

Contrary to "add_field", this will not create the intermediate structures if they are missing.

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

From libcatmandu-perl 1.2024-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.