Think about Loose Coupling | |
PerlMonks |
Re: Module failing to installby tobyink (Canon) |
on Feb 19, 2013 at 09:39 UTC ( [id://1019497]=note: print w/replies, xml ) | Need Help?? |
It seems likely that you've installed a package built for Perl 5.8 onto a Perl 5.14 installation.
package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name
In Section
Seekers of Perl Wisdom
|
|