/[Frey]/trunk/lib/Frey/Sponge.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /trunk/lib/Frey/Sponge.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 920 - (hide annotations)
Mon Jan 5 20:22:37 2009 UTC (15 years, 4 months ago) by dpavlin
File size: 255 byte(s)
make sponge param with new validation role Frey::Sponge
1 dpavlin 920 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