version 0.01
[gitmo/Moose-Policy.git] / lib / Moose / Policy / JavaAccessors.pm
index fea56dd..0bb5e49 100644 (file)
@@ -33,4 +33,51 @@ __END__
 
 =pod
 
+=head1 NAME 
+
+Moose::Policy::JavaAccessors - BeCause EveryOne Loves CamelCase
+
+=head1 SYNOPSIS
+  
+  package Foo;
+  
+  use Moose::Policy 'Moose::Policy::JavaAccessors';
+  use Moose;
+  
+  has 'bar' => (is => 'rw', default => 'Foo::bar');
+  has 'baz' => (is => 'ro', default => 'Foo::baz');
+  
+  # Foo now has (get, set)Bar methods as well as getBaz
+
+=head1 DESCRIPTION
+
+This meta-policy changes the behavior of Moose's default behavior in 
+regard to  accessors to follow Java convention and use CamelCase.
+
+=head1 CAVEAT
+
+This does a very niave conversion to CamelCase, basically it just 
+runs C<ucfirst> on the attribute name. Since I don't use CamelCase 
+(at least not anymore), this is good enough. If you really want to 
+use this, and need a more sophisicated conversion, patches welcome :)
+
+=head1 BUGS
+
+All complex software has bugs lurking in it, and this module is no 
+exception. If you find a bug please either email me, or add the bug
+to cpan-RT.
+
+=head1 AUTHOR
+
+Stevan Little E<lt>stevan@iinteractive.comE<gt>
+
+=head1 COPYRIGHT AND LICENSE
+
+Copyright 2006 by Infinity Interactive, Inc.
+
+L<http://www.iinteractive.com>
+
+This library is free software; you can redistribute it and/or modify
+it under the same terms as Perl itself.
+
 =cut