Class::Member - A set of modules to make the module developement easier River stage two • 4 direct dependents • 14 total dependents

Perl class instances are mostly blessed HASHes or GLOBs and store member variables either as "$self->{membername}" or "${*$self}{membername}" respectively. This is very error prone when you start to develope derived classes based on such modules. The...

OPI/Class-Member-1.6 - 08 Aug 2008 11:28:04 GMT

Class::Object - each object is its own class River stage zero No dependents

Traditionally in OO, objects belong to a class and that class as methods. $poodle is an object of class Dog and Dog might have methods like bark(), fetch() and nose_crotch(). What if instead of the methods belonging to the Dog class, they belonged to...

MSCHWERN/Class-Object-0.01 - 02 Jul 2001 06:37:23 GMT

Anansi::Class - A base module definition River stage zero No dependents

This is a base module definition that manages the creation and destruction of module object instances including embedded objects and ensures that destruction can only occur when an object is no longer used. Makes use of Anansi::ObjectManager....

ANANSI/Anansi-Class-0.10 - 28 Apr 2019 05:52:11 GMT

Class::AutoDB - Almost automatic object persistence coexisting with human-engineered database River stage one • 1 direct dependent • 1 total dependent

This class works closely with Class::AutoClass to provide almost transparent object persistence that can coexist with a human-engineered database. The auto-persistence mechanism provides hooks for connecting the two parts of the database together. Ca...

NATG/Class-AutoDB-1.291 - 18 Dec 2013 22:53:03 GMT

Class::Fields - Inspect the fields of a class. River stage one • 5 direct dependents • 7 total dependents

NOTE This module, and the fields system, is largely obsolete. Please consider using one of the many accessor generating modules, or just skip directly to a complete object oriented system like Moose or Mouse. A collection of utility functions/methods...

MSCHWERN/Class-Fields-0.204 - 05 Feb 2011 03:35:20 GMT

Class::CanBeA - figure out what your class can be. River stage zero No dependents

DCANTRELL/Class-CanBeA-1.4 - 27 Sep 2016 23:00:37 GMT

Class::Params - Parameter utils for constructor. River stage zero No dependents

SKIM/Class-Params-0.05 - 22 Jan 2018 12:13:36 GMT

Class::Config - Methods From Config Files River stage zero No dependents

This module generates unique namespaces for new classes that contain methods created from the key/value pairs from hashes in configuration files. This is useful for reusing code, such as modules and scripts for an entire website, but changing certain...

DOWENS/Class-Config-0.01 - 01 Feb 2004 09:51:33 GMT

Class::Facade - interface to one or more delegates River stage zero No dependents

This module implements a simple facade class, allowing you to create objects that delegate their methods to subroutines or other object or class methods. To create a delegate object, simply call the new() constructor passing a reference to a hash arr...

ABW/Class-Facade-0.01 - 07 Feb 2002 14:24:45 GMT

Class::Tables - Auto-vivification of persistent classes, based on RDBMS schema River stage zero No dependents

ROSULEK/Class-Tables-0.28 - 16 Jul 2004 03:26:49 GMT

Class::Handle - Create objects that are handles to Classes River stage one • 3 direct dependents • 5 total dependents

Class related functionality in Perl is broken up into a variety of different modules. Class::Handle attempts to provide a convenient object wrapper around the various different types of functions that can be performed on a class. Please note that thi...

ADAMK/Class-Handle-1.07 - 11 Dec 2007 04:48:27 GMT

Class::Entity - Object interface for relational databases River stage zero No dependents

Class::Entity allows a developer to create an object interface for a relational database by writing a minimal amount of code in a set of sub-classes which correspond to database tables. Right now this module only implements a read only interface. Wri...

PNEWMAN/Class-Entity-0.5 - 23 Jun 2006 16:57:02 GMT

Class::Attrib - Abstract translucent attribute management. River stage one • 2 direct dependents • 2 total dependents

KCODY/Class-Attrib-1.08 - 02 Nov 2017 01:23:27 GMT

Class::constr - Pragma to implement constructor methods River stage two • 12 direct dependents • 16 total dependents

This pragma easily implements constructor methods for your class, which are very efficient function templates that your modules may imports at compile time. "This technique saves on both compile time and memory use, and is less error-prone as well, s...

SKNPP/OOTools-2.41 - 02 Apr 2019 10:20:42 GMT

Class::Monkey - Monkey Patch a class/instance with modifiers and other sweet stuff River stage one • 3 direct dependents • 3 total dependents

Say we have a module installed on the system. It does some handy things, but you find a bug or a strange feature. We can easily fix it without subclassing by the following... # StupidClass.pm package SupidClass; sub new { my $class = shift; return bl...

BRADH/Class-Monkey-0.007 - 28 May 2012 08:11:49 GMT

Class::Struct - declare struct-like datatypes as Perl classes River stage five • 10313 direct dependents • 30438 total dependents

"Class::Struct" exports a single function, "struct". Given a list of element names and types, and optionally a class name, "struct" creates a Perl 5 class that implements a "struct-like" data structure. The new class is given a constructor method, "n...

XSAWYERX/perl-5.30.0 - 22 May 2019 09:35:50 GMT

Class::Random - Random behaviour for instances River stage zero No dependents

This module allows you to create classes which randomly change their behaviour or implementation according to a specified behaviour. This is done simply by using the module, passing a parameter list which dictates the required behaviour. A number of ...

PMH/Class-Random-0.2 - 06 Aug 2002 17:06:44 GMT

Class::Struct - declare struct-like datatypes as Perl classes River stage five • 10313 direct dependents • 30438 total dependents

"Class::Struct" exports a single function, "struct". Given a list of element names and types, and optionally a class name, "struct" creates a Perl 5 class that implements a "struct-like" data structure. The new class is given a constructor method, "n...

SHAY/perl-5.30.1 - 10 Nov 2019 14:14:00 GMT

Class::MOP::Class - Class Meta Object River stage four • 2997 direct dependents • 4448 total dependents

The Class Protocol is the largest and most complex part of the Class::MOP meta-object protocol. It controls the introspection and manipulation of Perl 5 classes, and it can create them as well. The best way to understand what this module can do is to...

ETHER/Moose-2.2012 - 22 Nov 2019 19:07:14 GMT

rubyisms - Steal some features from Ruby River stage zero No dependents

If you can't beat 'em, join 'em. This module exports some functionality to make Perl behave more like Ruby. Additionally, all classes which "use rubyisms" inherit from class "Class", and take a basic "new" method from there. (which creates a blessed ...

SIMON/rubyisms-1.0 - 23 Jan 2003 16:50:13 GMT

2,349 results (0.032 seconds)