|
|
| Keep It Simple, Stupid | |
| PerlMonks |
Re^3: any way to fill calling namespace with a "use Module"?by tobyink (Prior) |
| on Feb 23, 2013 at 22:54 UTC ( #1020356=note: print w/ replies, xml ) | Need Help?? |
|
Class::Load is a dependency of Moose, so you're already using it.
package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||