in reply to Redefining methods in non-singletons nearly drove me mad today
If you need this kind of thing though, you could have method dispatch go through anoymous coderefs in instance data. Method calls would need to be spelled differently; like $obj1->{getName}->() . I'm sure there are more clever ways of doing this though.
|
|---|