MooseX-Attribute-ENV is a Moose attribute trait that you use when
you want the default value for an attribute to be populated from
the %ENV hash.
While Moose attributes provide you with a way to name your accessors,
readers, writers, clearers and predicates, this library provides commonly
used attribute helper methods for more specific types of data.
Ever find yourself repeatedly specifying writers and builders, because there's
no good shortcut to specifying them? Sometimes you want an attribute to have
a read-only public interface, but a private writer. And wouldn't it be easier
to just say "builder => 1" and have the attribute construct the canonical
"_build_$name" builder name for you?
MooseX::AuthorizedMethods exports the "authorized" declarator that makes a
verification if the user has the required permissions before the acual
invocation. The default verification method will take the "user" method result
and call "roles" to list the roles given to that user.
MooseX::ClassAttribute allows you to declare class attributes in exactly
the same way as you declare object attributes, except using class_has()
instead of has(). It is also possible to make these attributes
immutable (and faster) just as you can with normal Moose attributes.
NEXT.pm adds a pseudoclass named NEXT to any program that uses it. If a method
m calls $self-NEXT::m()>, the call to m is redispatched as if the calling
method had not originally been found.
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
introspection on top of that. Attributes with the Clone trait will handle
cloning of data within the object, typically delegating to the attribute
value's own clone method.
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 should be provided as an ArrayRef of tuples.
Simply 'with' the role to gain the functionality.
An abstract Moose role for setting attributes from a configfile.
Often you want to write a persistant daemon that has a pid file, and responds
appropriately to Signals. This module provides a set of basic roles as an
infrastructure to do that.