| Catmandu::Fix::string(3pm) | User Contributed Perl Documentation | Catmandu::Fix::string(3pm) |
Catmandu::Fix::string - convert a value to a string
# 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 => ""
Catmandu::Fix
| 2020-06-06 | perl v5.30.3 |