Search results for "module:MooseX::Role::Parameterized"

MooseX::Role::Parameterized - Moose roles with composition parameters River stage four • 89 direct dependents • 1547 total dependents

Your parameterized role consists of two new things: parameter declarations and a "role" block. Parameters are declared using the "parameter" keyword which very much resembles "has" in Moose. You can use any option that "has" in Moose accepts. The def...

ETHER/MooseX-Role-Parameterized-1.11 - 16 Jul 2019 01:34:50 UTC

MooseX::Role::Parameterized::Parameters - base class for parameters River stage four • 89 direct dependents • 1547 total dependents

This is the base class for parameter objects. Currently empty, but I reserve the right to add things here. Each parameterizable role gets their own anonymous subclass of this; "parameter" in MooseX::Role::Parameterized actually operates on these anon...

ETHER/MooseX-Role-Parameterized-1.11 - 16 Jul 2019 01:34:50 UTC

MooseX::Role::Parameterized::Meta::Role::Parameterized - metaclass for parameterized roles River stage four • 89 direct dependents • 1547 total dependents

This is the metaclass for parameterized roles; that is, parameterizable roles with their parameters bound. See MooseX::Role::Parameterized::Meta::Trait::Parameterized which has all the guts....

ETHER/MooseX-Role-Parameterized-1.11 - 16 Jul 2019 01:34:50 UTC

MooseX::Role::Parameterized::Meta::Trait::Parameterized - trait for parameterized roles River stage four • 89 direct dependents • 1547 total dependents

This is the trait for parameterized roles; that is, parameterizable roles with their parameters bound. All this actually provides is a place to store the MooseX::Role::Parameterized::Parameters object as well as the MooseX::Role::Parameterized::Meta:...

ETHER/MooseX-Role-Parameterized-1.11 - 16 Jul 2019 01:34:50 UTC

MooseX::Role::Parameterised - Moose roles with composition parameters River stage four • 89 direct dependents • 1547 total dependents

ETHER/MooseX-Role-Parameterized-1.11 - 16 Jul 2019 01:34:50 UTC

MooseX::Role::Parameterized::Meta::Trait::Parameterizable - trait for parameterizable roles River stage four • 89 direct dependents • 1547 total dependents

This is the trait that is applied to the metaclass for parameterizable roles, roles that have their parameters currently unbound. These are the roles that you use "with" in Moose, but instead of composing the parameterizable role, we construct a new ...

ETHER/MooseX-Role-Parameterized-1.11 - 16 Jul 2019 01:34:50 UTC

MooseX::RelatedClasses - Parameterized role for related class attributes River stage one • 3 direct dependents • 5 total dependents

Have you ever built out a framework, or interface API of some sort, to discover either that you were hardcoding your related class names (not very extension-friendly) or writing the same code for the same type of attributes to specify what related cl...

RSRCHBOY/MooseX-RelatedClasses-0.012 - 14 Aug 2017 01:02:43 UTC

MooseX::Role::Listenable - A parameterized role for observable objects River stage zero No dependents

A simple implemenation of the observable pattern. By adding this to a class: with 'MooseX::Role::Listenable' => {event => 'some_event_name'}; You are making the class observable for the event 'some_event_name'. You can call the method "some_event_nam...

EILARA/MooseX-Role-Listenable-0.005 - 23 Dec 2010 09:38:19 UTC

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 UTC

MooseX::Storage - A serialization framework for Moose classes River stage two • 38 direct dependents • 83 total dependents

MooseX::Storage is a serialization framework for Moose, it provides a very flexible and highly pluggable way to serialize Moose classes to a number of different formats and styles. Levels of Serialization There are three levels to the serialization, ...

ETHER/MooseX-Storage-0.53 - 18 Apr 2020 03:48:20 UTC

MooseX::Observer - Simple Moose-Roles to implement the Observer Pattern River stage zero No dependents

This is a distribution, that provides roles, that implement the observer pattern. MooseX::Observer::Role::Observable is a parameterized role, that is applied to your observed class. Usually when applying the MooseX::Observer::Role::Observable role, y...

TMUELLER/MooseX-Observer-0.010 - 16 Aug 2012 23:23:57 UTC

MooseX::OneArgNew - teach ->new to accept single, non-hashref arguments River stage three • 3 direct dependents • 829 total dependents

MooseX::OneArgNew lets your constructor take a single argument, which will be translated into the value for a one-entry hashref. It is a parameterized role with three parameters: type The Moose type that the single argument must be for the one-arg fo...

RJBS/MooseX-OneArgNew-0.007 - 01 Jan 2023 02:17:14 UTC

MooseX::Getopt::GLD - A Moose role for processing command line options with Getopt::Long::Descriptive River stage three • 110 direct dependents • 324 total dependents

ETHER/MooseX-Getopt-0.75 - 16 Mar 2021 19:26:30 UTC

MooseX::Role::DBIC - make your Moose class encapsulate one or more DBIC schemas River stage zero No dependents

Generic parameterized Moose role to give your class accessors for managing one or more DBIx::Class::Schema objects. Can be composed with MooseX::Role::DBIx::Connector to share the same dsn, user, password, and connection attributes....

RBUELS/MooseX-Role-DBIC-0.01 - 07 Apr 2011 23:58:13 UTC

MooseX::Types::Meta - Moose types to check against Moose's meta objects River stage zero No dependents

ETHER/MooseX-Types-Meta-0.02 - 11 Nov 2015 03:50:20 UTC

MooseX::Role::Tempdir - Moose role providing temporary directory attributes River stage zero No dependents

IAMB/MooseX-Role-Tempdir-0.101 - 21 Dec 2018 07:27:41 UTC

MooseX::Role::Debugger - Automatically add debugging output with a role River stage zero No dependents

This role is intended to add to any Moose class. It will do a bit of introspection on the consuming class and wrap each one in an "around" modifier and add some debugging output before and after. By default, logging is done via a Log::Dispatch object...

DHOUSTON/MooseX-Role-Debugger-1.112680 - 25 Sep 2011 18:50:38 UTC

MooseX::AttributeTree - Inherit attribute values like HTML+CSS does River stage one • 1 direct dependent • 1 total dependent

Classes can inherit attributes from their parent classes. But sometimes you want an attribute to be able to inherit its value from a parent object. For example, that's how CSS styles work in HTML. MooseX::AttributeTree allows you to apply the "TreeIn...

CJM/MooseX-AttributeTree-0.06 - 27 Jun 2015 20:43:46 UTC

MooseX::RelClassTypes - specify a class name in an attribute isa relative to the current class River stage zero No dependents

To group accessors it can be convenient to create a nested structure of Moose objects. For example, instead of having package Car; use Moose; has max_speed => (is => 'rw', isa => 'Int'); has max_acceleration => (is => 'rw', isa => 'Int'); has turning...

TOMGRACEY/MooseX-RelClassTypes-0.03 - 02 May 2018 16:14:49 UTC

MooseX::Role::Matcher - generic object matching based on attributes and methods River stage one • 3 direct dependents • 3 total dependents

This role adds flexible matching and searching capabilities to your Moose class. It provides a match method, which tests attributes and methods of your object against strings, regexes, or coderefs, and also provides several class methods for using ma...

DOY/MooseX-Role-Matcher-0.05 - 04 Feb 2009 23:50:29 UTC
37 results (0.041 seconds)