There's more than one way to do things | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
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:
package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name
In reply to Introducing Type::Tiny by tobyink
|
|