Personal tools
Skip to content. | Skip to navigation
Moo types for numbers, adapted from MooseX::Types::Common::Numeric.
This module optimizes Moo type checks when used with Type::Tiny to perform better. It will automatically apply to isa checks and coercions that use Type::Tiny. Non-Type::Tiny isa checks will work as normal.
Moose, a powerful metaobject-fuelled extension of the Perl 5 object system, is wonderful. (For more information on Moose, please see 'perldoc Moose' after installing the perl-Moose package.) Unfortunately, it's a little slow. Though significant progress has been made over the years, the compile time penalty is a non-starter for some applications. Mouse aims to alleviate this by providing a subset of Moose's functionality, faster.
Moose, a powerful metaobject-fueled extension of the Perl 5 object system, is wonderful. (For more information on Moose, please see 'perldoc Moose' after installing the perl-Moose package.) Unfortunately, it's a little slow. Though significant progress has been made over the years, the compile time penalty is a non-starter for some applications. Mouse aims to alleviate this by providing a subset of Moose's functionality, faster.
This is a Mouse role that provides an alternate constructor for creating objects using parameters passed in from the command line.
While the Mouse manpage attributes provide a way to name your accessors, readers, writers, clearers and predicates, MouseX::NativeTraits provides commonly used attribute helper methods for more specific types of data. As seen in the the /SYNOPSIS manpage, you specify the data structure via the 'traits' parameter. These traits will be loaded automatically, so you need not load MouseX::NativeTraits explicitly. This extension is compatible with Moose native traits, although it is not a part of Mouse core.