Search results for "module:MooseX::Singleton"
MooseX::Singleton - Turn your Moose class into a singleton
A singleton is a class that has only one instance in an application. "MooseX::Singleton" lets you easily upgrade (or downgrade, as it were) your Moose class to a singleton. All you should need to do to transform your class is to change "use Moose" to...
ETHER/MooseX-Singleton-0.30 - 23 Nov 2016 04:47:31 UTC
MooseX::Singleton::Role::Object - Object class role for MooseX::Singleton
This just adds "instance" as a shortcut for "new"....
ETHER/MooseX-Singleton-0.30 - 23 Nov 2016 04:47:31 UTC
MooseX::DeclareX::Plugin::singleton - shiny syntax for MooseX::Singleton
This distribution extends MooseX::DeclareX with a new plugin: "is singleton" Marks a class as a singleton, providing "instance" and "initialize" methods as per MooseX::Singleton....
TOBYINK/MooseX-DeclareX-Plugin-singleton-0.003 - 10 Sep 2014 23:24:08 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
MooseX::Singleton::Role::Meta::Instance - Instance metaclass role for MooseX::Singleton
This role overrides all object access so that it gets the appropriate singleton instance for the class....
ETHER/MooseX-Singleton-0.30 - 23 Nov 2016 04:47:31 UTC
MooseX::SingletonMethod - Moose with Singleton Method facility.
What is a "Singleton Method?" TBD. What is "MooseX::SingletonMethod"? Using roles you can already create Singleton Methods with Moose: <http://transfixedbutnotdead.com/2009/06/03/using-moose-roles-to-create- singleton-methods/> <http://transfixedbutn...
DRAEGTUN/MooseX-SingletonMethod-0.03 - 03 Aug 2009 15:31:11 UTC
MooseX::Singleton::Role::Meta::Method::Constructor - Constructor method role for MooseX::Singleton
This role overrides the generated object "new" method so that it returns the singleton if it already exists....
ETHER/MooseX-Singleton-0.30 - 23 Nov 2016 04:47:31 UTC
MooseX::SingletonMethod::Role - Role providing Singleton Method option
See MooseX::SingletonMethod for full documentation....
DRAEGTUN/MooseX-SingletonMethod-0.03 - 03 Aug 2009 15:31:11 UTC
MooseX::DIC - A dependency injector container for Moose
Full documentation on the MooseX::DIC Webpage <http://docs.moosex-dic.org>. MooseX::DIC is a dependency injection container tailored to Moose, living in a full OOP environment and greatly inspired by Java DIC frameworks like Spring <https://docs.spri...
LPRIETO/MooseX-DIC-0.5.0 - 22 Oct 2017 20:02:51 UTC
MooseX::DeclareX - more sugar for MooseX::Declare
MooseX::DeclareX takes the declarative sugar of MooseX::Declare to the next level. Some people already consider MooseX::Declare to be pretty insane. If you're one of those people, then you're not going to like this... Keywords "class", "role", "exten...
TOBYINK/MooseX-DeclareX-0.009 - 10 Sep 2014 23:20:43 UTC
MooseX::Aspect - aspect-oriented programming toolkit for Moose
Certain parts of code are cross-cutting concerns. A classic example is the one shown in the example: logging. Other cross-cutting concerns include access control, change monitoring (e.g. setting dirty flags) and database transaction management. Aspec...
TOBYINK/MooseX-Aspect-0.001 - 18 Oct 2012 19:30:42 UTC
MooseX::POE::SweetArgs - sugar around MooseX::POE event arguments
Normally, when using MooseX::POE, subs declared as events need to use POE macros for unpacking @_, e.g.: my ($self, $foo, $bar) = @_[OBJECT, ARG0..$#_]; Using MooseX::POE::SweetArgs as a metaclass lets you avoid this, and just use @_ as normal: my ($...
GETTY/MooseX-POE-0.215 - 25 Apr 2012 16:10:05 UTC
MooseX::App::ParsedArgv - Parses @ARGV
This is a helper class that holds all options parsed from @ARGV. It is implemented as a singleton. Unless you are developing a MooseX::App plugin you usually do not need to interact with this class....
MAROS/MooseX-App-1.43 - 21 Oct 2023 12:08:25 UTC
MooseX::Role::Flyweight - Automatically memoize your Moose objects for reuse
*A million tiny objects can weigh a ton.* Instead of creating a multitude of identical copies of objects, a flyweight is a memoized instance that may be reused in multiple contexts simultaneously to minimize memory usage. And due to the cost of const...
STEVENL/MooseX-Role-Flyweight-1.03 - 13 Feb 2014 17:31:12 UTC
MooseX::Event::Role::ClassMethods - Make MooseX::Event methods available as class methods on a singleton
Sometimes it's handy to be able to call object methods directly on a singleton class, without having to call instance yourself. This wraps up the MooseX::Event Role to allow this. Your class must provide an instance method that returns the singleton ...
WINTER/MooseX-Event-v0.2.0 - 04 Sep 2011 01:25:29 UTC