Catmandu::Fix::string(3pm)

Catmandu::Fix::string3pm

Convert a value to a string

Usage

    # year => 2016
    string(year)
    # year => "2016"
    # foo => ["a", "b", "c"]
    string(foo)
    # foo => "abc"
    # foo => ["a", {b => "c"}, "d"]
    string(foo)
    # foo => ""
    
    # foo => {2 => "b", 1 => "a"}
    string(foo)
    # foo => "ab"
    # foo => {a => ["b"]}
    string(foo)
    # foo => ""

Releases

4 releases since Debian 10 (Buster); the text changed 3 times.

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

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