Syntactic Confectionery Delight | |
PerlMonks |
Re^4: Moose: What about "class" attributes?by John M. Dlugosz (Monsignor) |
on May 01, 2011 at 12:59 UTC ( [id://902332]=note: print w/replies, xml ) | Need Help?? |
Ah, so instead of
you would write That could store the string in lexical variable that the instantiated role's code blocks are closed over, so it knows the value you told it. ((I'm borrowing the terminology from C++ templates: instantiate means to spit out a real type from a template)) That certainly is more to think about.
In Section
Seekers of Perl Wisdom
|
|