1String::CamelCase(3) User Contributed Perl Documentation String::CamelCase(3)
2
3
4
6 String::CamelCase - camelcase, de-camelcase
7
9 Version 0.03
10
12 use String::CamelCase qw(camelize decamelize wordsplit);
13 print camelize("some_keyword"); # ==> SomeKeyword
14 print decamelize("SomeKeyword"); # ==> some_keyword
15 print wordsplit("some_keyword"); # ==> (some, keyword)
16 print wordsplit("SomeKeyword"); # ==> (Some, Keyword)
17
19 This module can export two functions, "camelize" and "decamelize".
20
22 camelize($under_score)
23 convert from under_score text to CamelCase one.
24
25 decamelize($CamelCase)
26 convert from CamelCase text to under_score one.
27
28 wordsplit($str)
30 YAMASHINA Hio, "<hio at cpan.org>"
31
33 Please report any bugs or feature requests to "bug-string-camelcase at
34 rt.cpan.org", or through the web interface at
35 <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=String-CamelCase>. I
36 will be notified, and then you'll automatically be notified of progress
37 on your bug as I make changes.
38
40 You can find documentation for this module with the perldoc command.
41
42 perldoc String::CamelCase
43
44 You can also look for information at:
45
46 • AnnoCPAN: Annotated CPAN documentation
47
48 <http://annocpan.org/dist/String-CamelCase>
49
50 • CPAN Ratings
51
52 <http://cpanratings.perl.org/d/String-CamelCase>
53
54 • RT: CPAN's request tracker
55
56 <http://rt.cpan.org/NoAuth/Bugs.html?Dist=String-CamelCase>
57
58 • Search CPAN
59
60 <http://search.cpan.org/dist/String-CamelCase>
61
63 CamelCase(en.wikipedia.org) <http://en.wikipedia.org/wiki/CamelCase>
64
65 CamelCase(ja.wikipedia.org)
66 <http://ja.wikipedia.org/wiki/%E3%82%AD%E3%83%A3%E3%83%A1%E3%83%AB%E3%82%B1%E3%83%BC%E3%82%B9>
67
69 Copyright 2006 YAMASHINA Hio, all rights reserved.
70
71 This program is free software; you can redistribute it and/or modify it
72 under the same terms as Perl itself.
73
74
75
76perl v5.32.1 2021-01-27 String::CamelCase(3)