Data::CamelCase - camelize data structures recursive
use Data::CamelCase qw(data_camelize data_decamelize)
my $camelized = data_camelize(%opts, { foo_bar => [qw(bar camel_case)]);
# Result:
# { FooBar => ['bar', 'CamelCase'] }
my $decamelized = data_decamelize(%opts, $camelized);
# Result:
# { foo_bar => ['bar', 'camel_case'] }
Data::CamelCase is
camelizes a data structure
options: keys_only, vars_only, lcfirst
decamelize a data structure
options: keys_only, vars_only
Patrick Grämer <pgraemer@cpan.org>
Copyright 2016- Patrick Grämer
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.