in reply to Re^4: Assignable Subroutines
in thread Assignable Subroutines

Agree 100% .. I don't know if I'd use this feature, but it's something other OO languages have, and it's use seems to be more than non-trivial (as examples elsewhere in this thread and the original hopefully prove).

A question to someone who knows a lot more than I do, how do other languages handle the more complex cases? i.e.

$obj->method++; ... etc ...

Replies are listed 'Best First'.
Re^6: Assignable Subroutines
by demerphq (Chancellor) on Jan 25, 2005 at 16:35 UTC

    VB at least doesnt support such things as far as I know. It certainly doesnt support ++ at all. Im not sure what happens if you pass byref a property, I suspect you can't but I havent checked. (Yet.)

    ---
    demerphq