logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Peter Shangov <pshangov@yahoo.com>

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']"

Name

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

Version

       version 0.003

See Also