Seg, 2008-06-09 às 17:51 -0700, Larry Wall escreveu:
> On Sat, Jun 07, 2008 at 09:49:03PM +0100, Daniel Ruoso wrote:
> : 2) Assume the capture-translation and define that
> : $foo.HOW.can($foo,'bar') keeps the $how as the invocant and must receive
> : the referring object as first argument.
> I pre
On Sat, Jun 07, 2008 at 09:49:03PM +0100, Daniel Ruoso wrote:
: 2) Assume the capture-translation and define that
: $foo.HOW.can($foo,'bar') keeps the $how as the invocant and must receive
: the referring object as first argument.
I prefer this approach, I think.
Larry
Hi,
When implementing prototype OO, the HOW for objects with different
behaviours will be shared. This issue is not new, but before we thought
that it would be possible to solve that by forcing $foo.HOW to be a
proxy object that would rewrite the call putting $foo as the invocant.
Me and nothingm