more useful options | |
PerlMonks |
Re^3: Should I list core modules as dependencies? (yaml comments)by tobyink (Canon) |
on Jun 03, 2013 at 14:21 UTC ( [id://1036769]=note: print w/replies, xml ) | Need Help?? |
And I'm sure they're very useful for people handwriting their META.yml files. For the rest of us who generate them using CPAN::Meta (e.g. via ExtUtils::MakeMaker) YAML comments are not really an option.
package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name
In Section
Seekers of Perl Wisdom
|
|