Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^5: Assignable Subroutines

by Mutant (Priest)
on Jan 25, 2005 at 16:31 UTC ( [id://424921]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://424921]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2024-04-24 19:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found