String::CamelCase(3)
π NAME π
String::CamelCase β camelcase, de-camelcase πͺβ¨
okay bestie, this is the String::CamelCase(3) page from User Contributed Perl Documentation, and it's giving tiny Perl module with main-character energy, no cap. Let's get into it π
π VERSION π
Version 0.03 β lowkey iconic, highkey useful β¨
πΈ SYNOPSIS πΈ
like, use it and print stuff, bestie:
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 β and that's the export list, bestie π
. Exactly those two, periodt.
π οΈ FUNCTIONS π οΈ
π« camelize($under_score)
takes under_score text and converts it into CamelCase text. slay β¨
π decamelize($CamelCase)
takes CamelCase text and converts it into under_score text. the reverse slay π
π§© wordsplit($str)
the original page just gives you this signature and then dips straight to AUTHOR β no description here, bestie, that's the whole entry ππ«Ά
π AUTHOR π
YAMASHINA Hio, "<hio at cpan.org>" β that's the author, highkey a legend π«Άπ
π 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'll get notified, and then you'll automatically be notified of progress on your bug as I make changes. don't be shy, report the bug πβ¨
π SUPPORT π
You can find documentation for this module with the perldoc command, like so:
perldoc String::CamelCase
You can also look for information at:
- AnnoCPAN: Annotated CPAN documentation β
<http://annocpan.org/dist/String-CamelCase> - CPAN Ratings β
<http://cpanratings.perl.org/d/String-CamelCase> - RT: CPAN's request tracker β
<http://rt.cpan.org/NoAuth/Bugs.html?Dist=String-CamelCase> - Search CPAN β
<http://search.cpan.org/dist/String-CamelCase>
π¦ SEE ALSO π¦
CamelCase(en.wikipedia.org)β<http://en.wikipedia.org/wiki/CamelCase>CamelCase(ja.wikipedia.org)β<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>
π 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.
π and that's the whole page, bestie βperl v5.42.0, dated2018-03-25, filed underString::CamelCase(3). Stay camelized π β¨
π¦ where this page comes from
- opensuse-leap 16.0: perl-String-CamelCase 0.04-bp160.1.11 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms