MooseX::Traits - Automatically apply roles at object creation time River stage three • 26 direct dependents • 192 total dependents

Often you want to create components that can be added to a class arbitrarily. This module makes it easy for the end user to use these components. Instead of requiring the user to create a named class with the desired roles applied, or apply roles to ...

ETHER/MooseX-Traits-0.13 - 16 Aug 2015 04:12:19 GMT

MooseX::Traits::Pluggable - trait loading and resolution for Moose River stage two • 2 direct dependents • 71 total dependents

See MooseX::Traits for usage information. Use "new_with_traits" to construct an object with a list of traits and "apply_traits" to apply traits to an instance. Adds support for class precedence search for traits and some extra attributes, described b...

RKITOVER/MooseX-Traits-Pluggable-0.12 - 11 Jan 2014 20:54:15 GMT

MooseX::CompileTime::Traits - Allow compile time traits for classes/roles River stage zero No dependents

MooseX::CompileTime::Traits allows role application at compile time via use statements. What this class does is provide an import method that will apply each of the roles (along with any arguments for parameterized roles). Roles and their arguments s...

NPEREZ/MooseX-CompileTime-Traits-1.102570 - 14 Sep 2010 09:27:15 GMT

MooseX::Traits::SetScalarByRef - Wrap a ScalarRef attribute's accessors to re-use a reference River stage zero No dependents

This module wraps a ScalarRef attribute's accessors to ensure that when the setter is called with a new ScalarRef (or something that can be coerced into a ScalarRef), rather that the usual set action happening, you copy the string stored in the new s...

ASB/MooseX-Traits-SetScalarByRef-0.02 - 14 Jul 2014 20:02:27 GMT

MooseX::Storage::Traits::WithRoles - A custom trait to include roles in serialization River stage one • 1 direct dependent • 2 total dependents

This trait is meant to be used when a base class will be consuming roles at runtime via (for example) "with_traits". Without this trait, the '__CLASS__' attribute of the serialized object would be the name of the resulting anonymous class, which is u...

YANICK/MooseX-Storage-Traits-WithRoles-0.2.0 - 15 Jan 2016 00:55:02 GMT

MooseX::Storage::Traits::OnlyWhenBuilt - A custom trait to bypass serialization River stage two • 42 direct dependents • 97 total dependents

Sometimes you don't want a particular attribute to be part of the serialization if it has not been built yet. If you invoke "Storage()" as outlined in the "Synopsis", only attributes that have been built (i.e., where the predicate returns 'true') wil...

ETHER/MooseX-Storage-0.52 - 22 Jun 2016 03:23:28 GMT

MooseX::Traits::Attribute::MergeHashRef River stage zero No dependents

This trait will merge values added to a HashRef attribute. It uses Hash::Merge to combine them. The method "set_$attr" which resets the attribute with a given hashref is also created. Call "clear_$attr" to clear the attribute....

PERLER/MooseX-Traits-Attribute-MergeHashRef-1.002 - 14 Mar 2011 16:44:38 GMT

MooseX::Storage::Traits::DisableCycleDetection - A custom trait to bypass cycle detection River stage two • 42 direct dependents • 97 total dependents

"MooseX::Storage" implements a primitive check for circular references. This check also triggers on simple cases as shown in the Synopsis. Providing the "DisableCycleDetection" traits disables checks for any cyclical references, so if you know what y...

ETHER/MooseX-Storage-0.52 - 22 Jun 2016 03:23:28 GMT

lib/MooseX/Traits/Util.pm River stage three • 26 direct dependents • 192 total dependents

ETHER/MooseX-Traits-0.13 - 16 Aug 2015 04:12:19 GMT

lib/MooseX/Storage/DBIC/Engine/Traits/Default.pm River stage zero No dependents

REVMISCHA/MooseX-Storage-DBIC-0.01 - 04 Aug 2012 03:30:24 GMT

MooseX::Attribute::Chained - Attribute that returns the instance to allow for chaining River stage two • 9 direct dependents • 41 total dependents

MooseX::Attribute::Chained is a Moose Trait which allows for method chaining on accessors by returning $self on write/set operations....

TOMHUKINS/MooseX-Attribute-Chained-1.0.3 - 13 Jan 2017 17:46:08 GMT

MooseX::Attribute::ChainedClone - Attribute that returns a cloned instance River stage two • 9 direct dependents • 41 total dependents

MooseX::Attribute::ChainedClone is a Moose Trait which allows for method chaining on accessors by returning a cloned instance of $self on write/set operations. If $self has a "clone" method, this method is invoked to clone the instance. This allows f...

TOMHUKINS/MooseX-Attribute-Chained-1.0.3 - 13 Jan 2017 17:46:08 GMT

MooseX::Storage::Base::SerializedClass - Deserialize according to the serialized __CLASS__ River stage one • 1 direct dependent • 2 total dependents

Behaves like MooseX::Storage::Basic, with the exception that the unpacking will reinflate the object into the class and roles as provided in the serialized data. It is means to be used in conjuncture with MooseX::Storage::Traits::WithRoles....

YANICK/MooseX-Storage-Traits-WithRoles-0.2.0 - 15 Jan 2016 00:55:02 GMT

MooseX::Storage::Engine::Trait::WithRoles - An engine trait to include roles in serialization River stage one • 1 direct dependent • 2 total dependents

YANICK/MooseX-Storage-Traits-WithRoles-0.2.0 - 15 Jan 2016 00:55:02 GMT

MooseX::Traitor - An alternate way to compose your classes with traits River stage one • 1 direct dependent • 5 total dependents

One of the most powerful things about Moose is that with roles and easy "anonymous" class creation we are blessed with a fantastic new way of creating classes, often on the fly, out of other classes and those composable bits of behaviour, roles. Even...

RSRCHBOY/MooseX-Traitor-0.006 - 25 Jun 2015 21:58:41 GMT

MooseX::App - Write user-friendly command line apps with even less suffering River stage two • 36 direct dependents • 61 total dependents

MooseX-App is a highly customisable helper to write user-friendly command line applications without having to worry about most of the annoying things usually involved. Just take any existing Moose class, add a single line ("use MooseX-App qw(PluginA ...

MAROS/MooseX-App-1.41 - 13 May 2019 20:55:25 GMT

MooseX::DIC - A dependency injector container for Moose River stage zero No dependents

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 GMT

MooseX::Util - Moose::Util extensions River stage three • 4 direct dependents • 139 total dependents

This is a utility module that handles all of the same functions that Moose::Util handles. In fact, most of the functions exported by this package are simply re-exports from Moose::Util, so you're recommended to read the documentation of that module f...

RSRCHBOY/MooseX-Util-0.006 - 26 Jun 2015 18:34:33 GMT

MooseX::Clone - Fine-grained cloning support for Moose objects. River stage three • 28 direct dependents • 121 total dependents

Out of the box Moose only provides very barebones cloning support in order to maximize flexibility. This role provides a "clone" method that makes use of the low level cloning support already in Moose and adds selective deep cloning based on introspe...

ETHER/MooseX-Clone-0.06 - 23 May 2015 22:38:59 GMT

MooseX::Privacy - Provides the syntax to restrict/control visibility of your methods River stage two • 7 direct dependents • 10 total dependents

MooseX::Privacy brings the concept of private and protected methods to your class....

FRANCKC/MooseX-Privacy-0.05 - 15 Feb 2011 09:10:08 GMT

133 results (0.041 seconds)