NAME
VERSION
SYNOPSIS
METHODS
Accessor definition methods
- default
-
Get/set the accessor's default value
- implements
-
Get/set required methods for an object to be considered valid; this is different from "object_can" in that it takes class names to source for method names rather than requiring you to specify the interfaces explicitely.
- mutable
-
Get/Set whether or not the returned reference should be mutable or not.
- name
-
Get/Set the name of this accessor
- object_can
-
Get/set required methods for an object to be considered valid; this is different from "implements" in that you must explicitely list method names.
- object_isa
-
Get/set required parent classes for an object to be considered valid.
- readonly
-
Get/set boolean for whether or not the accessor shall be considered read-only after initialization has completed.
- required
-
Get/set boolean for whether or not the accessor is required to have a (valid) value passed to the constructor.
- self
-
Get/set a reference to the object on which this accessor object is associated.
- type
-
Get/set the type of value this accessor will handle.
- validator
-
Get/set a validation regular expression or subroutine.
- value
-
Get/set the value for the currently defined $self instance of this accessor.
Utilities and meta-data methods
- default_is_set
-
Get boolean value of whether or not a default value has been set.
- dereference
-
Dereference a value by type
- base_type
-
Get the accessors base type
- is_set
-
Get boolean value of whether or not a value (even undef) has been set on this accessor
- reference
-
Get a reference to the type of object.
AUTHOR
Jamie Beverly, <jbeverly at cpan.org>
BUGS
Please report any bugs or feature requests to bug-foo-bar at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=OOP-Perlish-Class. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc OOP::Perlish::Class
You can also look for information at:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
COPYRIGHT & LICENSE
Copyright 2009 Jamie Beverly
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.