sourCEntral - mobile manpages

pdf

MooseX::Has::Options::Handler::NativeTypes

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 AT yahoo DOT 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.

pdf