NAME
Catmandu::Fix::rename - rename fields with a regex
SYNOPSIS
# dotted => {'ns.foo' => 'val', list => {'ns.bar' => 'val'}}
rename
(dotted,
'\.'
,
'-'
)
# dotted => {'ns-foo' => 'val', list => {'ns-bar' => 'val'}}
Catmandu::Fix::rename - rename fields with a regex
# dotted => {'ns.foo' => 'val', list => {'ns.bar' => 'val'}}
rename
(dotted,
'\.'
,
'-'
)
# dotted => {'ns-foo' => 'val', list => {'ns-bar' => 'val'}}