Don't ask to ask, just ask | |
PerlMonks |
Re^3: marshalling databy tobyink (Canon) |
on Mar 12, 2013 at 06:59 UTC ( [id://1022929]=note: print w/replies, xml ) | Need Help?? |
Perl 5.14 actually. Perl 5.12 introduced the package Foo 1.23 syntax.
package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name
In Section
Seekers of Perl Wisdom
|
|