chromatic wrote: >This proof of concept patch enables that, with $self as the invocant. It >could use more robust testing, but all existing tests pass. You should prototype this as a CPAN module, using the keyword hook. >The trick of using lex_stuff_pvs() seems grotty, but it's far, far easier than >building a new optree with the appropriate lexical bindings within the method >production in perly.y. As something to go in the core, I do not approve of this shortcut. You should definitely build the optree rather than stuff source. It also seems very unwise for the core to take the keyword "method" at this stage. We have several CPAN modules supplying "method" keywords with various semantics, it's an unresolved area. -zeframThread Previous | Thread Next