Parent Directory | Revision Log
make sponge param with new validation role Frey::Sponge
1 | package Frey::Sponge; |
2 | use Moose::Role; |
3 | |
4 | use MooseX::Types::Moose qw(Str Int ArrayRef); |
5 | use MooseX::Types::Structured qw/Dict/; |
6 | |
7 | has 'sponge' => ( |
8 | is => 'rw', |
9 | isa => Dict[ |
10 | rows => ArrayRef[ArrayRef], |
11 | NAME => ArrayRef[Str], |
12 | ], |
13 | required => 1, |
14 | ); |
15 | |
16 | 1; |
ViewVC Help | |
Powered by ViewVC 1.1.26 |