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.
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