Scroll to navigation

MooseX::Has::Options::Handler::NativeTypes(3) User Contributed Perl Documentation MooseX::Has::Options::Handler::NativeTypes(3)

NAME

MooseX::Has::Options::Handler::NativeTypes - Option shortcuts for native types

VERSION

version 0.003

DESCRIPTION

This module provides the following shortcut options for MooseX::Has::Options:

:array
Translates to "traits => ['Array']"
:bool
Translates to "traits => ['Bool']"
:code
Translates to "traits => ['Code']"
:counter
Translates to "traits => ['Counter']"
:hash
Translates to "traits => ['hash']"
:number
Translates to "traits => ['Number']"
:string
Translates to "traits => ['String']"

AUTHOR

Peter Shangov <pshangov@yahoo.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 by Peter Shangov.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2013-08-01 perl v5.40.0