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  -  MOOSE::POLICY::JAVAACCESSORS (3)

.ds Aq ’

NAME

Moose::Policy::JavaAccessors - BeCause EveryOne Loves CamelCase

CONTENTS

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



DEPRECATION NOTICE

<B>Moose::Policy is deprecatedB>.

DESCRIPTION

This meta-policy changes the behavior of Moose’s default behavior in regard to accessors to follow Java convention and use CamelCase.

CAVEAT

This does a very niave conversion to CamelCase, basically it just runs 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 :)

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.

AUTHOR

Stevan Little <stevan@iinteractive.com>

COPYRIGHT AND LICENSE

Copyright 2006-2007 by Infinity Interactive, Inc.

<http://www.iinteractive.com>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 MOOSE::POLICY::JAVAACCESSORS (3) 2010-11-21

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