-
perl-MooseX-Role-Parameterized-1.10-7.lbn25.noarch
Roles are composable units of behavior. They are useful for factoring out
functionality common to many classes from any part of your class hierarchy.
(See Moose::Cookbook::Roles::Recipe1 for an introduction to Moose::Role.)
While combining roles affords you a great deal of flexibility, individual
roles have very little in the way of configurability. Core Moose provides
alias for renaming methods to avoid conflicts, and excludes for ignoring
methods you don't want or need (see Moose::Cookbook::Roles::Recipe2 for more
about alias and excludes).
Because roles serve many different masters, they usually provide only the
least common denominator of functionality. To empower roles further, more
configurability than alias and excludes is required. Perhaps your role needs
to know which method to call when it is done. Or what default value to use for
its url attribute.
Parameterized roles offer exactly this solution.
Located in
LBN
/
…
/
Core Linux
/
BastionLinux 25
-
perl-MooseX-SimpleConfig-0.09-8.fc19.noarch
This role loads simple configfiles to set object attributes. It is based on
the abstract role MooseX::ConfigFromFile, and uses Config::Any to load your
configfile. Config::Any will in turn support any of a variety of different
config formats, detected by the file extension. See Config::Any for more
details about supported formats.
Located in
LBN
/
…
/
Core Linux
/
BastionLinux 19
-
perl-MooseX-StrictConstructor-0.19-4.fc19.noarch
Simply loading this module makes your constructors "strict". If your
constructor is called with an attribute init argument that your class does
not declare, then it calls "Carp::confess()". This is a great way to catch
small typos.
Located in
LBN
/
…
/
Core Linux
/
BastionLinux 19
-
perl-MooseX-Types-0.35-4.fc19.noarch
The types provided with the Moose man page are by design global. This
package helps you to organize and selectively import your own and the
built-in types in libraries. As a nice side effect, it catches typos at
compile-time too.
However, the main reason for this module is to provide an easy way to not
have conflicts with your type names, since the internal fully qualified
names of the types will be prefixed with the library's name.
This module will also provide you with some helper functions to make it
easier to use Moose types in your code.
Located in
LBN
/
…
/
Core Linux
/
BastionLinux 19
-
perl-MooseX-Types-0.50-7.lbn25.noarch
The types provided with the Moose man page are by design global. This
package helps you to organize and selectively import your own and the
built-in types in libraries. As a nice side effect, it catches typos at
compile-time too.
However, the main reason for this module is to provide an easy way to not
have conflicts with your type names, since the internal fully qualified
names of the types will be prefixed with the library's name.
This module will also provide you with some helper functions to make it
easier to use Moose types in your code.
Located in
LBN
/
…
/
Core Linux
/
BastionLinux 25
-
perl-MooseX-Types-Common-0.001008-4.fc19.noarch
A set of commonly-used type constraints that do not ship with Moose
by default.
Located in
LBN
/
…
/
Core Linux
/
BastionLinux 19
-
perl-MooseX-Types-Common-0.001014-8.lbn25.noarch
A set of commonly-used type constraints that do not ship with Moose
by default.
Located in
LBN
/
…
/
Core Linux
/
BastionLinux 25
-
perl-MooseX-Types-Path-Class-0.06-4.fc19.noarch
MooseX::Types::Path::Class creates common Moose types, coercions and option
specifications useful for dealing with Path::Class objects as Moose attributes.
Coercions (see Moose::Util::TypeConstraints) are made from both 'Str' and
'ArrayRef' to both Path::Class::Dir and Path::Class::File objects. If you
have MooseX::Getopt installed, the Getopt option type ("=s") will be added
for both Path::Class::Dir and Path::Class::File.
Located in
LBN
/
…
/
Core Linux
/
BastionLinux 19
-
perl-MooseX-Types-Path-Tiny-0.010-3.lbn19.noarch
This module provides Path::Tiny types for Moose. It handles two important
types of coercion:
* Coercing objects with overloaded stringification
* Coercing to absolute paths
It also can check to ensure that files or directories exist.
Located in
LBN
/
…
/
Core Linux
/
BastionLinux 19
-
perl-MooseX-Types-Stringlike-0.003-2.lbn19.noarch
This module provides a more general version of the Str type. If coercions are
enabled, it will accept objects that overload stringification and coerces them
into strings.
Located in
LBN
/
…
/
Core Linux
/
BastionLinux 19