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.In reply to Re^2: Class::MethodMaker, workplace politics, and patches (A dynamic patch)
by fluffy
in thread Class::MethodMaker, workplace politics, and patches
by dragonchild
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |