String::CamelCase - Camelizes and decamelizes given string
use String::CamelCase;
String::CamelCase is a module to camelize and decamelize a string.
Following functions are exported:
camelize("hoge_fuga");
# => "HogeFuga"
camelize("hoge-fuga");
# => "HogeFuga"
decamelize("HogeFuga");
# => hoge-fuga
decamelize("HogeFuga", "_");
# => hoge_fuga
wordsplit("HogeFuga");
# => ["Hoge", "Fuga"]
wordsplit("hoge-fuga");
# => ["hoge", "fuga"]
Yoko Ohyama yowcow@cpan.org
Copyright 2015 yowcow
This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.