good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: use warnings::unused don't work in perl 5.16.2.1 (32bits)by tobyink (Canon) |
on Feb 12, 2013 at 21:25 UTC ( [id://1018450]=note: print w/replies, xml ) | Need Help?? |
It's still available on BackPAN but its author has deprecated it in favour of Test::Vars.
package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name
In Section
Seekers of Perl Wisdom
|
|