stevan / p5-mop-redux

A(nother) MOP for Perl 5
139 stars 36 forks source link

should it be an error to define methods like import and DESTROY in the mop? #104

Open doy opened 11 years ago

doy commented 11 years ago

import isn't really a method, and can cause all kinds of confusing problems if you try to treat it as one. DESTROY should be handled by DEMOLISH/DEMOLISHALL. Should defining these be an error? Are there any other method names that may cause similar issues?