Class::Singleton - Implementation of a "Singleton" class River stage two • 21 direct dependents • 30 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.6 - 02 Dec 2020 08:42:52 UTC - Search in distribution

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 UTC - Search in distribution

Class::MakeMethods::Emulator::Singleton - Emulate Class::Singleton River stage one • 1 direct dependent • 1 total dependent

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 - Search in distribution

MooseX::Singleton::Role::Meta::Class - Metaclass role for MooseX::Singleton River stage two • 29 direct dependents • 52 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 UTC - Search in distribution

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 UTC - Search in distribution

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 UTC - Search in distribution

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 UTC - Search in distribution

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 UTC - Search in distribution

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 UTC - Search in distribution

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 UTC - Search in distribution

EO::Singleton - A generic singleton base class River stage one • 1 direct dependent • 1 total dependent

JDUNCAN/EO-0.96 - 18 Jan 2005 21:20:18 UTC - Search in distribution

Apache::Singleton - Singleton class for mod_perl River stage zero No dependents

Apache::Singleton works the same as Class::Singleton, but with various object lifetime (scope). See Class::Singleton first....

MSCHOUT/Apache-Singleton-0.17 - 02 Aug 2017 16:33:07 UTC - Search in distribution

App::Sandy::DB - Singleton class to manage database River stage zero No dependents

TMILLER/App-Sandy-0.23 - 10 Mar 2019 20:24:40 UTC - Search in distribution

UR::Singleton - Abstract class for implementing singleton objects River stage one • 1 direct dependent • 1 total dependent

This class provides the infrastructure for singleton classes. Singletons are classes of which there can only be one instance, and that instance's ID is the class name. If a class inherits from UR::Singleton, it overrides the default implementation of...

BRUMMETT/UR-0.47 - 06 Aug 2018 14:29:10 UTC - Search in distribution

Test::Singleton - Test for Singleton classes River stage zero No dependents

** If you are unfamiliar with testing read Test::Tutorial first! ** This is asimple, basic module for checking whether a class is a Singleton. A Singleton describes an object class that can have only one instance in any system. An example of a Single...

TPG/Test-Singleton-1.02 - 15 Feb 2006 20:25:24 UTC - Search in distribution

XAS::Singleton - A singleton class for the XAS environment River stage one • 6 direct dependents • 6 total dependents

There can only be one... A singleton class for the XAS environment....

KESTEB/XAS-0.15 - 12 Jan 2017 16:01:35 UTC - Search in distribution

Elive::DAO::Singleton - Singleton mixin class River stage one • 1 direct dependent • 1 total dependent

This mixin class provides a "get" method for fetching the singleton object. It also overrides the Elive::DAO list method, to return just the singleton object in a one element array. Typical usage is: package Elive::Entity::SomeEntity; use warnings; u...

WARRINGD/Elive-1.37 - 04 Dec 2015 02:58:35 UTC - Search in distribution

Pangloss::Config - config singleton for Pangloss. River stage zero No dependents

Configuration hash for Pangloss, implemented as a singleton....

SPURKIS/Pangloss-0.06 - 03 Jun 2004 15:59:46 UTC - Search in distribution

MooX::Singleton - turn your Moo class into singleton River stage two • 13 direct dependents • 22 total dependents

Role::Tiny role that provides "instance" method turning your object into singleton....

AJGB/MooX-Singleton-1.20 - 07 Apr 2013 22:39:57 UTC - Search in distribution
387 results (0.09 seconds)