Class-Dot
view release on metacpan or search on metacpan
lib/Class/Dot.pod view on Meta::CPAN
=head3 C<<< isa_Code() >>>
=for apidoc CODEREF = Class::Dot::isa_Code(CODEREF $code)
The property is a subroutine reference.
=head3 C<<< isa_File() >>>
=for apidoc CODEREF = Class::Dot::isa_Code(FILEHANDLE $fh)
=head2 INSTANCE METHODS
=head3 C<<< ->properties_for_class($class) >>>
=for apidoc HASHREF = Class::Dot->properties_for_class(_CLASS|BLESSED $class)
Return the list of properties for a classE<sol>object that uses the powers.
=head2 PRIVATE CLASS METHODS
=head3 C<<< _create_get_accessor($property, $default_value) >>>
=for apidoc CODEREF = Class::Dot::_create_get_accessor(string $property, data|CODEREF $default_value)
Create the set accessor for a property.
Returns a code reference to the new setter method.
It has to be installed into the callers package afterwards.
=head3 C<<< _create_set_accessor($property) >>>
=for apidoc CODEREF = Class::Dot::_create_set_accessor(string $property)
Create the get accessor for a property.
Returns a code reference to the new getter method.
It has to be installed into the callers package afterwards.
=head1 DIAGNOSTICS
=head2 * You tried to set a value with C<<< foo() >>>. Did you mean C<<< set_foo() >>>
Self-explained?
=head1 CONFIGURATION AND ENVIRONMENT
This module requires no configuration file or environment variables.
=head1 DEPENDENCIES
=over
=item *
L<version>
=back
=head1 INCOMPATIBILITIES
None known.
=head1 BUGS AND LIMITATIONS
No bugs have been reported.
Please report any bugs or feature requests to
L<bug-class-dot@rt.cpan.org|mailto:bug-class-dot@rt.cpan.org>, or through the web interface at
L<CPAN Bug tracker|http://rt.cpan.org>.
=head1 SEE ALSO
=head2 L<Moose>
A complete object system for Perl 5. It is much more complete than
C<<< Class::Dot >>>, but it is also slower.
=head2 L<Class::Accessor>
Simple and fast implementation of properties. However, I don't like
the syntax (C<<< __PACKAGE__->mk_accessors >>> etc).
=head2 L<Class::InsideOut>
For Inside-Out objects. Does not have types.
=head1 AUTHOR
Ask Solem, L<ask@0x61736b.net>.
=head1 LICENSE AND COPYRIGHT
Copyright (c), 2007 Ask Solem L<ask@0x61736b.net|mailto:ask@0x61736b.net>.
C<<< Class::Dot >>> is distributed under the Modified BSD License.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this
list of conditions and the following disclaimer in the documentation andE<sol>or
other materials provided with the distribution.
3. The name of the author may not be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
=head1 DISCLAIMER OF WARRANTY
BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE
( run in 0.428 second using v1.01-cache-2.11-cpan-39bf76dae61 )