RE: Wrap an attribute’s ^get_value method in TWEAK

2019-09-08 Thread Mark Devine
Easy for you to say... (haha) Nice! Many thanks. Mark From: Vadim Belman Sent: Sunday, September 8, 2019 21:32 To: Mark Devine Cc: perl6-users Subject: Re: Wrap an attribute’s ^get_value method in TWEAK Here is a quickly hacked together example: multi trait_mod: (Attribute:D

Re: Wrap an attribute’s ^get_value method in TWEAK

2019-09-08 Thread Vadim Belman
DEFG')).SerialNumber; > > > I’ve twisted myself into a pretzel. I couldn’t even find where a role gets > ‘$’, but I saw it in JSTOWE’s code so I mimicked. > > I need a little more broad-based help on what goes where and when. > > Thanks, > > Mark > > From: Va

RE: Wrap an attribute’s ^get_value method in TWEAK

2019-09-08 Thread Mark Devine
mailto:m...@markdevine.com>> wrote: Perl6 Community, How do I properly wrap an attribute’s ^get_value method in TWEAK? If a condition exists, I’d like to wrap all (:local) attributes so that they can do some extra work. The module that I’m working on has classes/attributes for hu

Re: Wrap an attribute’s ^get_value method in TWEAK

2019-09-08 Thread Vadim Belman
Community, > > How do I properly wrap an attribute’s ^get_value method in TWEAK? If a > condition exists, I’d like to wrap all (:local) attributes so that they can > do some extra work. > > The module that I’m working on has classes/attributes for hundreds of fields > i

Wrap an attribute’s ^get_value method in TWEAK

2019-09-08 Thread Mark Devine
Perl6 Community, How do I properly wrap an attribute’s ^get_value method in TWEAK? If a condition exists, I’d like to wrap all (:local) attributes so that they can do some extra work. The module that I’m working on has classes/attributes for hundreds of fields in dozens of different, big XML