This module generates accessors for your class in the same spirit as
Class::Accessor does. While the latter deals with accessors for scalar values,
this module provides accessor makers for arrays, hashes, integers, booleans,
sets and more.
As seen in the synopsis, you can chain calls to the accessor makers. Also,
because this module inherits from Class::Accessor, you can put a call to one of
its accessor makers at the end of the chain.
The accessor generators also generate documentation ready to be used with
Sub::Documentation.
Child - a Perl 5 OO interface to fork()
My working version of this port is at:
http://github.com/drench/FreeBSD-p5-Child
This module generates accessors for your class in the same spirit as
Class::Accessor does. While the latter deals with accessors for
scalar values, this module provides accessor makers for rather
flexible constructors.
This module does two things differently to the venerable
Class::Accessor::Fast:
- Fields are stored at arms-length within a single hash value of $self, rather
than directly in the $self blessed referent.
- new() allows mixin into an existing object, rather than creating and
returning a new blessed hashref.
This module is a XS based replacement for Class::Accessor::Fast.
Just replace Class::Accessor::Fast with Class::Accessor::Fast::XS
and it should just work.
Read Class::Accessor::Fast and Class::Accessor for API docs and usage.
This class lets you build groups of accessors that will call different
getters and setters.
Perl module to install an accessor subroutine
Class::Accessor::Lite is a variant of Class::Accessor. It is fast and requires
less typing, has no dependencies to other modules, and does not mess up the
@ISA.
This module subclasses Class::Accessor and Class::Accessor::Fast
in order to provide lvalue accessor makers.
Class::Accessor is a great way to automate the tedious task of
generating accessors and mutators. One small drawback is that due to
the details of the implementation, you only get one __ANON__ entry in
profiling output. That entry contains all your accessors, which can be
a real pain if you're attempting to figure out which of your accessors
is being called six billion times. This module is a development aid
which uses Hook::LexWrap and Sub::Name to talk your accessors into
identifying themselves. While it shouldn't add much additional runtime
overhead (as it acts only Class::Accessor's generator functions), it
has not been designed for production deployment.