On May 4, 2007, at 1:17 AM, Allison Randal wrote:

Matt Diephouse wrote:
Are you sure? It seems like this bug/feature will go away when pdd15
is implemented. At that point, setting a Sub in a namespace will no
longer modify the methods or vtable functions of a class.

The feature is "when you import a sub from another namespace, it has all the same attributes as it did in the original namespace". It's true that class methods and vtable overrides are moving out of the namespace, which means the feature will no longer be relevant to classes.


This sounds dangerous for HLL interoperability, though I'm in a rush right now and don't have time to come up with an explicit case. =-)


As a feature, this could do a world of hurt. I'm not sure how much
sense it makes to copy a method from one class to another...

This is the key point. Direct import/export is really for libraries. Classes use composition of roles.

Allison


--
Will "Coke" Coleda
[EMAIL PROTECTED]


Reply via email to