Perl: the Markov chain saw | |
PerlMonks |
Re^3: marshalling databy tobyink (Canon) |
on Mar 12, 2013 at 14:30 UTC ( [id://1022986]=note: print w/replies, xml ) | Need Help?? |
Why in earth would Other want to unmarshall some variables without knowing what they're called? If it didn't know what they were called, it couldn't very well make practical use of the data contained in them.
package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name
In Section
Seekers of Perl Wisdom
|
|