GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  CAPITALIZATION (3)

.ds Aq ’

NAME

capitalization - no capitalization on method names

CONTENTS

SYNOPSIS



  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");



DESCRIPTION

capitalization.pm allows you to use familiar style on method naming.

RULES

Lower case character followed by upper case sequence would be splitted with _ and upper case sequence would be lower cased. Example: fooBar would be foo_bar.
All other upper case characters would be lower cased. Examples: FOOs would be foos, _Foo would be _foo.

CAVEATS

CWno 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.

AUTHOR

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.

SEE ALSO

Symbol::Approx::Sub
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 CAPITALIZATION (3) 2005-05-05

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.