On Saturday, September 30, Mark Devine wrote: > My most common OC case: initialize attributes at OC time from external > input that will be parsed with grammars &/| scrubbed with elaborate > conditional tests.
I like to use assignment for simple things and TWEAK for complicated things -- class Foo { has $.bar = 'something simple'; has $.baz; submethod TWEAK { $!baz = call-something-complicated; } } Brian