autobox::Camelize - autobox methods for (de)camelcasing
This document describes version 0.001 of autobox::Camelize - released March 17, 2013 as part of autobox-Camelize.
# $foo is 'this_is__my__name'
my $foo = 'ThisIs::My::Name'->decamelize;
# $bar is 'ThisIs::NotMy::Name'
my $bar = 'this_is__not_my__name'->camelize;
This is a simple set of autobox methods that work on strings, and camelize/decamelize them according to how the author thinks camelization should work:
Camelizing replaces '__[a-z]' with '::[A-Z]', and '_[a-z]' with '[A-Z]'. The first character is capitalized.
Decamelizing replaces '::[A-Z]' with '__[a-z]', and '[A-Z]' with '_[a-z]'. The first character is lowercased.
Camelize a string.
Decamelize a string.
Please see those modules/websites for more information related to this module.
has a fairly comprehensive collection of autobox methods.
The development version is on github at http://github.com/RsrchBoy/autobox-Camelize and may be cloned from git://github.com/RsrchBoy/autobox-Camelize.git
Please report any bugs or feature requests on the bugtracker website https://github.com/RsrchBoy/autobox-Camelize/issues
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
Chris Weyl <email@example.com>
This software is Copyright (c) 2012 by Chris Weyl.
This is free software, licensed under:
The GNU Lesser General Public License, Version 2.1, February 1999
1 POD Error
The following errors were encountered while parsing the POD:
Nested L<> are illegal. Pretending inner one is X<...> so can continue looking for other errors.
To install autobox::Camelize, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.