The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Search results for "class::singleton"

Class::Singleton - Implementation of a "Singleton" class River stage two • 22 direct dependents • 35 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 • 50 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/Component/Component/SingletonMethod.pm River stage one • 4 direct dependents • 8 total dependents

YAPPO/Class-Component-0.17 - 12 May 2008 08:58:08 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

CTKx - Singleton CTK extension River stage one • 2 direct dependents • 2 total dependents

Extension for working with CTK as "Singleton Pattern" c, ctk my $c = CTKx->instance->c; my $ctk = CTKx->instance->ctk; Returns ctk-object...

ABALAMA/CTKlib-2.09 - 10 Sep 2022 10:53:50 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

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

TMILLER/App-Sandy-0.25 - 19 Sep 2023 17:58:11 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

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

ONE - A Node.js style AnyEvent class, using MooseX::Event River stage zero No dependents

WINTER/ONE-v0.2.0 - 04 Sep 2011 01:36:09 UTC - Search in distribution

XSH River stage zero No dependents

CHOROBA/XML-XSH-1.8.6 - 09 Mar 2018 23:41:22 UTC - Search in distribution

CPAN - query, download and build perl modules from CPAN sites River stage three • 54 direct dependents • 474 total dependents

The CPAN module automates or at least simplifies the make and install of perl modules and extensions. It includes some primitive searching capabilities and knows how to use LWP, HTTP::Tiny, Net::FTP and certain external download clients to fetch dist...

ANDK/CPAN-2.36 - 14 May 2023 19:36:11 UTC - Search in distribution
406 results (0.154 seconds)