Skip to content

Commit

Permalink
rename fix synopsis
Browse files Browse the repository at this point in the history
  • Loading branch information
nics committed Mar 23, 2017
1 parent 5888659 commit 51ff840
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/Catmandu/Fix/rename.pm
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ __END__
Catmandu::Fix::rename - rename fields with a regex
=head1 SYNOPSIS
# ns => {'ns.foo' => 'val', list => {'ns.bar' => 'val'}}
rename(ns, '\.', '')
# ns => {'foo' => 'val', list => {'bar' => 'val'}}
=head1 SEE ALSO
L<Catmandu::Fix>
Expand Down

0 comments on commit 51ff840

Please sign in to comment.