Search results for "module:Class::Accessor"

Class::Accessor - Automated accessor generation River stage four • 668 direct dependents • 2002 total dependents

This module automagically generates accessors/mutators for your class. Most of the time, writing accessors is an exercise in cutting and pasting. You usually wind up with a series of methods like this: sub name { my $self = shift; if(@_) { $self->{na...

KASEI/Class-Accessor-0.51 - 22 Oct 2017 17:01:15 UTC

Class::Accessor::Class - simple class variable accessors River stage one • 3 direct dependents • 7 total dependents

Class::Accessor::Class provides a simple way to create accessor and mutator methods for class variables, just as Class::Accessor provides for objects. It can use either an enclosed lexical variable, or a package variable. This module was once impleme...

RJBS/Class-Accessor-Class-0.504 - 20 Jun 2021 21:01:56 UTC

Class::Accessor::Ref - Access members by reference River stage one • 1 direct dependent • 1 total dependent

This is an extension of Class::Accessor that allows taking a reference of members of an object. This is typically useful when your class implementation uses a third-party module that expects an in/out parameter in its interface. Without Class::Access...

GAAL/Class-Accessor-Ref-0.05 - 10 May 2007 16:23:04 UTC

Class::Accessor::Lite - a minimalistic variant of Class::Accessor River stage three • 127 direct dependents • 504 total dependents

The module 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....

KAZUHO/Class-Accessor-Lite-0.08 - 05 May 2015 21:14:09 UTC

Class::Accessor::Lazy - class accessors generation with lazy accessors and fast mode support. River stage zero No dependents

This module allowes you to create accessors and mutators for your class, using one of the modules: Class::Accessor or Class::Accessor::Fast, but, in addition, it allowes you to create lazy accessors. You may create mix accessors in your module, use F...

HURRICUP/Class-Accessor-Lazy-1.003 - 25 Jan 2015 10:16:42 UTC

Class::Data::Accessor - Inheritable, overridable class and instance data accessor creation River stage two • 19 direct dependents • 97 total dependents

This module is now deprecated! Please consider using Class::Accessor::Grouped or Moose Class::Data::Accessor is the marriage of Class::Accessor and Class::Data::Inheritable into a single module. It is used for creating accessors to class data that ov...

CLACO/Class-Data-Accessor-0.04004 - 13 Aug 2008 00:51:49 UTC

Class::Accessor::Fast - Faster, but less expandable, accessors River stage four • 668 direct dependents • 2002 total dependents

This is a faster but less expandable version of Class::Accessor. Class::Accessor's generated accessors require two method calls to accomplish their task (one for the accessor, another for get() or set()). Class::Accessor::Fast eliminates calling set(...

KASEI/Class-Accessor-0.51 - 22 Oct 2017 17:01:15 UTC

Class::Accessor::Tiny - Perl Tiny Accessors for PBP River stage one • 1 direct dependent • 1 total dependent

EXPORT None by default....

GRIAN/Class-Accessor-Tiny-0.10 - 17 Aug 2011 07:54:42 UTC

Class::Accessor::Lvalue - create Lvalue accessors River stage two • 6 direct dependents • 36 total dependents

This module subclasses Class::Accessor in order to provide lvalue accessor makers....

RCLAMP/Class-Accessor-Lvalue-0.11 - 16 Dec 2003 10:30:03 UTC

Class::Accessor::Named - Better profiling output for Class::Accessor River stage two • 1 direct dependent • 34 total dependents

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 implemenetation, you only get one "__ANON__" entry in profiling output. That entry contains all you...

JESSE/Class-Accessor-Named-0.009 - 18 Jan 2010 19:45:54 UTC

Class::Accessor::Array - Generate accessors/constructor for array-based object River stage two • 4 direct dependents • 18 total dependents

This module is a builder for array-backed classes. You can change the constructor name from the default "new" using the "constructor" parameter. Currently the built constructor does not accept parameters to set the attributes, e.g.: my $obj = Your::C...

PERLANCAR/Class-Accessor-Array-0.032 - 03 Aug 2021 02:49:02 UTC

Class::Accessor::Typed - Class::Accessor::Lite with Type River stage zero No dependents

Class::Accessor::Typed is variant of "Class::Accessor::Lite". It supports argument validation like "Smart::Args"....

PAPIX/Class-Accessor-Typed-0.03 - 07 Jun 2022 12:58:44 UTC

Class::Accessor::Faster - Even faster, but less expandable, accessors River stage four • 668 direct dependents • 2002 total dependents

This is a faster but less expandable version of Class::Accessor::Fast. Class::Accessor's generated accessors require two method calls to accomplish their task (one for the accessor, another for get() or set()). Class::Accessor::Fast eliminates callin...

KASEI/Class-Accessor-0.51 - 22 Oct 2017 17:01:15 UTC

Class::Accessor::Classy - accessors with minimal inheritance River stage two • 15 direct dependents • 17 total dependents

EWILHELM/Class-Accessor-Classy-v0.9.1 - 13 Jul 2009 19:41:49 UTC

Class::Accessor::Assert - Accessors which type-check River stage zero No dependents

This is a version of Class::Accessor which offers rudimentary type-checking and existence-checking of arguments to constructors and set accessors. To specify that a member is mandatory in the constructor, prefix its name with a "+". To specify that i...

SMUELLER/Class-Accessor-Assert-1.41 - 03 Mar 2010 17:04:44 UTC

Class::Accessor::Chained - make chained accessors River stage three • 28 direct dependents • 287 total dependents

A chained accessor is one that always returns the object when called with parameters (to set), and the value of the field when called with no arguments. This module subclasses Class::Accessor in order to provide the same mk_accessors interface....

RCLAMP/Class-Accessor-Chained-0.01 - 24 Nov 2003 14:49:58 UTC

Class::Accessor::Complex - Arrays, hashes, booleans, integers, sets and more River stage two • 25 direct dependents • 42 total dependents

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...

MARCEL/Class-Accessor-Complex-1.100880 - 29 Mar 2010 17:48:36 UTC

Class::Accessor::Grouped - Lets you build groups of accessors River stage three • 30 direct dependents • 497 total dependents

This class lets you build groups of accessors that will call different getters and setters. The documentation of this module still requires a lot of work (volunteers welcome >.>), but in the meantime you can refer to this post <http://lo-f.at/glahn/2...

HAARG/Class-Accessor-Grouped-0.10014 - 01 Jul 2018 19:30:58 UTC

Class::Accessor::Children - Automated child-class/accessor generation River stage two • 13 direct dependents • 13 total dependents

This module automagically generates child classes which have accessor/mutator methods. This module inherits "Class::Accessor" to make accessors....

KAWASAKI/Class-Accessor-Children-0.02 - 16 Aug 2007 03:53:08 UTC

Class::Scaffold::Accessor - Construct framework-specific accessors River stage one • 1 direct dependent • 1 total dependent

MARCEL/Class-Scaffold-1.102280 - 16 Aug 2010 16:46:43 UTC
338 results (0.039 seconds)