山科 氷魚 (YAMASHINA Hio) > String-CamelCase-0.01 > String::CamelCase

Download:
String-CamelCase-0.01.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View Bugs
Report a bug
Module Version: 0.01   Source  

NAME ^

String::CamelCase - camelcase, de-camelcase

VERSION ^

Version 0.01

SYNOPSIS ^

 use String::CamelCase qw(camelize decamelize wordsplit);
 print camelize("some_keyword");  # ==> SomeKeyword
 print decamelize("SomeKeyword"); # ==> some_keyword
 print wordsplit("some_keyword"); # ==> (some, keyword)
 print wordsplit("SomeKeyword");  # ==> (Some, Keyword)

EXPORT ^

This module can export two functions, camelize and decamelize.

FUNCTIONS ^

camelize($under_score)

convert from under_score text to CamelCase one.

decamelize($CamelCase)

convert from CamelCase text to under_score one.

wordsplit($str)

AUTHOR ^

YAMASHINA Hio, <hio at cpan.org>

BUGS ^

Please report any bugs or feature requests to bug-string-camelcase at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=String-CamelCase. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT ^

You can find documentation for this module with the perldoc command.

    perldoc String::CamelCase

You can also look for information at:

SEE ALSO ^

CamelCase(en.wikipedia.org)

CamelCase(ja.wikipedia.org)

COPYRIGHT & LICENSE ^

Copyright 2006 YAMASHINA Hio, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.