The Perl Advent Calendar needs more articles for 2022. Submit your idea today!

Search results for "module:Role::Tiny::With"

Role::Tiny::With - Neat interface for consumers of Role::Tiny roles River stage four • 273 direct dependents • 4657 total dependents

"Role::Tiny" is a minimalist role composition tool. "Role::Tiny::With" provides a "with" function to compose such roles....

HAARG/Role-Tiny-2.002004 - 24 Jan 2021 02:49:55 UTC

Jojo::Role - Role::Tiny + lexical "with" River stage zero No dependents

Jojo::Role works kind of like Role::Tiny but "with", "requires", "before", "after" and "around" are exported as lexical subroutines. This is a companion to Jojo::Base. Jojo::Role may be used in two ways. First, to declare a role, which is done with u...

FERREIRA/Jojo-Role-0.6.0 - 29 Mar 2019 20:03:05 UTC

Alien::Role - Extend Alien::Base with roles! River stage four • 231 direct dependents • 1294 total dependents

The "Alien::Role" namespace is intended for writing roles that can be applied to Alien::Base to extend its functionality. You could of course write subclasses that extend Alien::Base, but then you have to either stick with just one subclass or deal w...

PLICEASE/Alien-Build-2.74 - 27 Nov 2022 15:28:11 UTC

Moo::Role - Minimal Object Orientation support for Roles River stage four • 2093 direct dependents • 5188 total dependents

"Moo::Role" builds upon Role::Tiny, so look there for most of the documentation on how this works (in particular, using "Moo::Role" also enables strict and warnings). The main addition here is extra bits to make the roles more "Moosey;" which is to s...

HAARG/Moo-2.005004 - 29 Mar 2021 06:42:35 UTC

Role::Tiny - Roles: a nouvelle cuisine portion size slice of Moose River stage four • 273 direct dependents • 4657 total dependents

"Role::Tiny" is a minimalist role composition tool....

HAARG/Role-Tiny-2.002004 - 24 Jan 2021 02:49:55 UTC

Mojo::Role - Tiny and simple role system for Mojo (DEPRECATED) River stage zero No dependents

This module has been renamed to Mojo::RoleTiny and the namespace may be repurposed in the future. Instead of using it, you can now create roles using Mojo::Base directly. # For a role class use Mojo::Base -role; # To use/consume a role use Role::Tiny...

DBOOK/Mojo-Role-0.999 - 30 Jul 2019 22:24:54 UTC

exact::role - Simple role interface extension for exact River stage two • 3 direct dependents • 13 total dependents

exact::role is a tiny mechanism to create roles for use with exact::class. It relies on Role::Tiny, which is to say, it just integrates Role::Tiny with exact::class and exact. Note that the "noautoclean" option of exact gets automatically switched on...

GRYPHON/exact-class-1.16 - 20 Mar 2022 00:36:49 UTC

Role::Hooks - role callbacks River stage two • 7 direct dependents • 86 total dependents

This module allows a role to run a callback when it is applied to a class or to another role. Compatibility It should work with Role::Tiny, Moo::Role, Moose::Role, Mouse::Role, Role::Basic, and Mite. Not all class builders work well with all role bui...

TOBYINK/Role-Hooks-0.008 - 04 Jul 2022 12:17:26 UTC

Role::Basic - Just roles. Nothing else. River stage one • 6 direct dependents • 8 total dependents

For an extended discussion, see <http://blogs.perl.org/users/ovid/2010/12/rolebasic---when-you-only-want -roles.html>. Sometimes you want roles. You're not sure about Moose, Mouse, Moo and what *was* that damned Squirrel thing anyway? Then there's Cl...

OVID/Role-Basic-0.13 - 03 Apr 2012 17:44:34 UTC

Sub::NonRole - prevent some subs from appearing in a role's API River stage one • 1 direct dependent • 2 total dependents

This module allows you to mark certain subs within a role as not being part of the role's API. This means that they will not be copied across into packages which consume the role. The subs can still be called as: My::Role->other_function(); My::Role:...

TOBYINK/Sub-NonRole-0.006 - 17 Jun 2022 22:43:22 UTC

Role::Commons - roles that can be commonly used, for the mutual benefit of all River stage two • 12 direct dependents • 18 total dependents

Role-Commons is not yet another implementation of roles. It is a collection of generic, reusable roles that hopefully you will love to apply to your classes. These roles are built using Moo::Role, so automatically integrate into the Moose object syst...

TOBYINK/Role-Commons-0.104 - 24 Oct 2014 10:19:40 UTC

Alien::Role::Alt - (Deprecated) Alien::Base role that supports alternates River stage zero No dependents

NOTE: The capabilities that used to be provided by this role have been moved into Alien::Base's core class. This is an empty role provided for compatibility only. New code should not be using this class. Some packages come with multiple libraries, an...

PLICEASE/Alien-Role-Alt-0.05 - 11 Mar 2019 15:03:02 UTC

Role::Multiton - Add a multiton constructor to your class River stage one • 3 direct dependents • 4 total dependents

See <http://en.wikipedia.org/wiki/Multiton_pattern> for info about multitons....

DMUEY/Role-Multiton-0.2 - 12 Nov 2013 03:25:10 UTC

Role::RunAlone - prevent multiple instances of a script from running River stage zero No dependents

This Role provides a simple way for a command line script to ensure that only a single instance of said script is able to run at one time. This is accomplished by trying to obtain an exclusive lock on the script's "__DATA__" or "__END__" section. The...

BOFTX/Role-RunAlone-v0.1.0 - 07 Sep 2020 06:41:06 UTC

PlugAuth::Role::Auth - Role for PlugAuth authentication plugins River stage zero No dependents

Use this role when writing PlugAuth plugins that manage authentication (ie. determine the identify of the user)....

PLICEASE/PlugAuth-0.39 - 11 Mar 2018 18:33:53 UTC

DSL::Tiny::Role - A simple yet powerful DSL builder. River stage zero No dependents

*This is an initial release. It's all subject to rethinking. Comments welcome.* every time a language advertises "we make writing dsls easy!" i read "i'm going to have to learn a new language for every project" Jesse Luehrs (@doyster) 3/8/13, 12:11 P...

HARTZELL/DSL-Tiny-0.001 - 28 May 2013 17:24:19 UTC

Test::Roo::Role - Composable role for Test::Roo River stage two • 27 direct dependents • 72 total dependents

This module defines test behaviors as a Moo::Role....

DAGOLDEN/Test-Roo-1.004 - 05 Aug 2014 23:24:42 UTC

PlugAuth::Role::Authz - Role for PlugAuth authorization plugins River stage zero No dependents

Use this role when writing PlugAuth plugins that manage authorization (ie. determine what the user has authorization to actually do)....

PLICEASE/PlugAuth-0.39 - 11 Mar 2018 18:33:53 UTC

Role::Inspector - introspection for roles River stage two • 3 direct dependents • 16 total dependents

This module allows you to retrieve a hashref of information about a given role. The following role implementations are supported: * Moose::Role * Mouse::Role * Moo::Role * Role::Tiny * Role::Basic * p5-mop-redux <https://github.com/stevan/p5-mop-redu...

TOBYINK/Role-Inspector-0.006 - 13 May 2020 09:50:32 UTC

Role::Singleton - Add a singleton constructor to your class River stage one • 3 direct dependents • 4 total dependents

See <http://en.wikipedia.org/wiki/Singleton_pattern> for info about singletons....

DMUEY/Role-Multiton-0.2 - 12 Nov 2013 03:25:10 UTC
101 results (0.08 seconds)