In case you've not seen my blogs.perl.org entry, I've just released Type::Tiny which is something along the lines of MooseX::Types but:
- Has zero (non-core) dependencies.
- Is faster.
- Works with Moose, Moo and Mouse.
package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Introducing Type::Tiny
by Your Mother (Archbishop) on Apr 15, 2013 at 16:14 UTC | |
Re: Introducing Type::Tiny
by pemungkah (Priest) on Apr 15, 2013 at 19:46 UTC |
Back to
Perl News