Search results for "module:Class::Singleton"
Class::Singleton - Implementation of a "Singleton" class
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.6 - 02 Dec 2020 08:42:52 UTC
OOP::Perlish::Class::Singleton
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 UTC
Class::MakeMethods::Emulator::Singleton - Emulate Class::Singleton
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 UTC
MooseX::Singleton::Role::Meta::Class - Metaclass role for MooseX::Singleton
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 UTC
lib/OOP/Perlish/Class/Singleton/UnitTests/Singleton.pm
JBEVERLY/OOP-Perlish-Class-0.45.0
-
08 Feb 2010 12:29:17 UTC
Class::WeakSingleton - A Singleton that expires when all the references to it expire
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 UTC
Class::SingletonProxy - proxy class methods to a singleton
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 UTC
Class::StrongSingleton - A stronger and more secure Singleton base class.
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 UTC
Class::SingletonMethod - Extend individual objects with additional methods
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 UTC
DBIx::Class::SingletonRows - make database rows returned by DBIx::Class into singletons
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 UTC
lib/Class/Component/Component/SingletonMethod.pm
YAPPO/Class-Component-0.17
-
12 May 2008 08:58:08 UTC
lib/Class/STL/ClassMembers/SingletonConstructor.pm
DAVIDO/Class-STL-Containers-0.37
-
21 Jun 2018 18:47:43 UTC
lib/Class/Component/Component/Autocall/SingletonMethod.pm
YAPPO/Class-Component-0.17
-
12 May 2008 08:58:08 UTC
Class::NonOO - Use methods as functions with an implicit singleton
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 UTC
Class::Monadic - Provides monadic methods (a.k.a. singleton methods)
"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 UTC
Class::DI - Perl dependency injection container
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 UTC
Class::Null - Implements the Null Class design pattern
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 UTC
Class::Default - Static calls apply to a default instantiation
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 UTC
MongoDBx::Class - Flexible ORM for MongoDB databases
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 UTC
Class::Cloneable - A base class for Cloneable objects.
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 UTC