capitalization - no capitalization on method names
use XML::DOM; no capitalization 'XML::DOM'; my $parser = XML::DOM::Parser->new; # no capitalization .. my $nodes = $parser->get_elements_by_tag_name("Foo"); # this can be OK my $nodes = $parser->getElementsByTagName("Foo");
capitalization.pm allows you to use familiar style on method naming.
_
fooBar
foo_bar
FOOs
foos
_Foo
_foo
no capitalization __PACKAGE__;
If you want use capitalization pragma in module and add lower case API in the module itself, then you should use pragma after all subs are defined.
Tatsuhiko Miyagawa <miyagawa@bulknews.net>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Symbol::Approx::Sub
To install capitalization, copy and paste the appropriate command in to your terminal.
cpanm
cpanm capitalization
CPAN shell
perl -MCPAN -e shell install capitalization
For more information on module installation, please visit the detailed CPAN module installation guide.