P is for Practical | |
PerlMonks |
Re: Access reference of a tied hash within TIEHASHby tobyink (Canon) |
on Mar 18, 2013 at 22:13 UTC ( [id://1024164]=note: print w/replies, xml ) | Need Help?? |
No, not unless you pass it in manually.
package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name
In Section
Seekers of Perl Wisdom
|
|