![]() |
|
Syntactic Confectionery Delight | |
PerlMonks |
Re^2: map syntax error -- weirdby tobyink (Abbot) |
on Mar 22, 2013 at 22:38 UTC ( #1024987=note: print w/replies, xml ) | Need Help?? |
And just for completeness, to disambiguate the other way, use a leading +:
package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name
In Section
Seekers of Perl Wisdom
|
|