Class::Singleton - Implementation of a "Singleton" class River stage four • 19 direct dependents • 2219 total dependents

This is the "Class::Singleton" module. A Singleton describes an object class that can have only one instance in any system. An example of a Singleton might be a print spooler or system registry. This module implements a Singleton class from which oth...

SHAY/Class-Singleton-1.5 - 07 Nov 2014 21:48:05 GMT

OOP::Perlish::Class::Singleton River stage zero No dependents

Create a singleton class. Only one instance of this class will ever exist, no matter how many times a call is made to OOP::Perlish::Class::Singleton->new(); The first call will create the instance, and all subsequent calls will receive references to ...

JBEVERLY/OOP-Perlish-Class-0.45.0 - 08 Feb 2010 12:29:17 GMT

Class::MakeMethods::Emulator::Singleton - Emulate Class::Singleton River stage two • 3 direct dependents • 10 total dependents

A Singleton describes an object class that can have only one instance in any system. An example of a Singleton might be a print spooler or system registry. This module implements a Singleton class from which other classes can be derived. By itself, t...

EVO/Class-MakeMethods-1.01 - 07 Sep 2004 21:45:34 GMT

MooseX::Singleton::Role::Meta::Class - Metaclass role for MooseX::Singleton River stage two • 29 direct dependents • 54 total dependents

This metaclass role makes sure that there is only ever one instance of an object for a singleton class. The first call to "construct_instance" is run normally (and then cached). Subsequent calls will return the cached version....

ETHER/MooseX-Singleton-0.30 - 23 Nov 2016 04:47:31 GMT

lib/OOP/Perlish/Class/Singleton/UnitTests/Singleton.pm River stage zero No dependents

JBEVERLY/OOP-Perlish-Class-0.45.0 - 08 Feb 2010 12:29:17 GMT

Class::WeakSingleton - A Singleton that expires when all the references to it expire River stage one • 1 direct dependent • 1 total dependent

This is the Class::WeakSingleton module. A Singleton describes an object class that can have only one instance in any system. An example of a Singleton might be a print spooler, system registry or database connection. A "weak" Singleton is not immort...

JJORE/Class-WeakSingleton-1.05 - 13 Nov 2008 19:25:21 GMT

Class::SingletonProxy - proxy class methods to a singleton River stage zero No dependents

classes derived from Class::SingletonProxy redirect class methods to (per class) singleton objects. METHODS $class->SINGLETON() this method can be redefined on subclasses and is automatically called to create the singleton when it has not been previo...

SALVA/Class-SingletonProxy-0.01 - 29 Jun 2005 10:45:17 GMT

Class::StrongSingleton - A stronger and more secure Singleton base class. River stage one • 1 direct dependent • 1 total dependent

This module is an alternative to Class::Singleton and Class::WeakSingleton, and provides a more secure Singleton class in that it takes steps to prevent the possibility of accidental creation of multiple instances and/or the overwriting of existsing ...

STEVAN/Class-StrongSingleton-0.02 - 28 Feb 2005 04:23:57 GMT

Class::SingletonMethod - Extend individual objects with additional methods River stage zero No dependents

This module provides a Perl implementation of singleton methods. The Ruby FAQ defines singleton methods like so: (Q) What is a singleton method? (A) A singleton method is defined for the particular object but in the class. A singleton method allows a...

SIMON/Class-SingletonMethod-1.0 - 01 Jan 2004 15:51:48 GMT

DBIx::Class::SingletonRows - make database rows returned by DBIx::Class into singletons River stage zero No dependents

When you do this with DBIx::Class: my $row = $schema->... my $row2 = update_and_return(); sub update_and_return { my $row = $schema->... $row->somefield("HLAGH"); $row->update(); return $row; } then even if both $row and $row2 have the same row_id, t...

DCANTRELL/DBIx-Class-SingletonRows-0.11 - 26 Jun 2008 17:33:22 GMT

lib/Class/Component/Component/SingletonMethod.pm River stage two • 4 direct dependents • 11 total dependents

YAPPO/Class-Component-0.17 - 12 May 2008 08:58:08 GMT

lib/Class/STL/ClassMembers/SingletonConstructor.pm River stage one • 1 direct dependent • 1 total dependent

DAVIDO/Class-STL-Containers-0.37 - 21 Jun 2018 18:47:43 GMT

lib/Class/Component/Component/Autocall/SingletonMethod.pm River stage two • 4 direct dependents • 11 total dependents

YAPPO/Class-Component-0.17 - 12 May 2008 08:58:08 GMT

Class::NonOO - Use methods as functions with an implicit singleton River stage zero No dependents

This module allows you to turn a class into a module that exports methods as functions that use an implicit singleton. This allows you to provide a "hybrid" object-oriented/functional interface....

RRWO/Class-NonOO-v0.4.1 - 12 Jan 2016 17:23:35 GMT

Class::Monadic - Provides monadic methods (a.k.a. singleton methods) River stage one • 2 direct dependents • 3 total dependents

"Class::Monadic" provides per-object classes, monadic classes. It is also known as singleton classes in other languages, e.g. "Ruby". Monadic classes is used in order to define monadic methods, i.e. per-object methods (a.k.a. singleton methods), whic...

GFUJI/Class-Monadic-0.04 - 28 Mar 2009 05:58:31 GMT

Class::DI - Perl dependency injection container River stage zero No dependents

this class does DI. The instance is generated based on an external setting, and the dependence between components is excluded from the source code....

HAOSAN/Class-DI-0.03 - 31 Jul 2010 04:19:44 GMT

Class::Null - Implements the Null Class design pattern River stage one • 6 direct dependents • 9 total dependents

This class implements the Null Class design pattern. Suppose that methods in your object want to write log messages to a log object. The log object is possibly stored in a slot in your object and can be accessed using an accessor method: package MyOb...

MARCEL/Class-Null-2.110730 - 14 Mar 2011 10:40:28 GMT

Class::Default - Static calls apply to a default instantiation River stage one • 4 direct dependents • 6 total dependents

Class::Default provides a mechanism to allow your class to take static method calls and apply it to a default instantiation of an object. It provides a flexibility to an API that allows it to be used more confortably in different situations. A good e...

ADAMK/Class-Default-1.51 - 16 Nov 2007 00:14:15 GMT

MongoDBx::Class - Flexible ORM for MongoDB databases River stage zero No dependents

MongoDBx::Class is a flexible object relational mapper (ORM) for MongoDB databases. Given a schema-like collection of document classes, MongoDBx::Class expands MongoDB objects (hash-refs in Perl) from the database into objects of those document class...

IDOPEREL/MongoDBx-Class-1.030002 - 04 Feb 2014 19:44:34 GMT

Class::Cloneable - A base class for Cloneable objects. River stage zero No dependents

This module provides a flexible base class for building objects with cloning capabilities. This module does it's best to respect the encapsulation of all other objects, including subclasses of itself. This is intended to be a stricter and more OO-ish...

STEVAN/Class-Cloneable-0.03 - 06 Feb 2006 18:08:23 GMT

33 results (0.036 seconds)