Risk-Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

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