in reply to Re: Class::MethodMaker, workplace politics, and patches (A dynamic patch)
in thread Class::MethodMaker, workplace politics, and patches
Sorry to be late to the party. BrowserUk, your answer is quite right; but you can make it slightly easier on yourself by simply defining foo_isset in the class before Class::MethodMaker(->import) is called. It will never overwrite an existing method. Since the example does a use, that would need to be in a BEGIN{} ahead of the use.
Mx.
|
|---|