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

HTML::FormHandler::Moose::Role - to add sugar to roles

Author

       FormHandler Contributors - see HTML::FormHandler

Name

       HTML::FormHandler::Moose::Role - to add sugar to roles

Synopsis

       Enables the use of field specification sugar (has_field) in roles.  Use this module instead of " use
       Moose::Role; "

          package MyApp::Form::Foo;
          use HTML::FormHandler::Moose::Role;

          has_field 'username' => ( type => 'Text', ... );
          has_field 'something_else' => ( ... );

          no HTML::FormHandler::Moose::Role;
          1;

Version

       version 0.40068

See Also