I'm not sure I like the fact that this works:
bless\%);
sub a { print pop }
(\%))->a('hello');
The fact that the blessing sticks around after the object reference is gone just seems strange.
Re:It's the referrent not the reference
kasei on 2005-08-05T22:43:00
This isn't an issue of not understanding what's going on. It's that I don't particularly like the semantics of what's going on here. I understand the design, and realize that there'd be even more troubles if it were implemented in another way, but this still doesn't sit well with me.