Hi On 03/18/2015 01:06 PM, Tom Browder wrote:
My new object needs some methods run during construction. How can I do that without defining my own "new" method?
http://doc.perl6.org/language/objects#Object_Construction lists at least two possible ways. Probably the most interesting one is BUILDALL with a callsame; see the last example (or example skeleton) in that section.
Cheers, Moritz