I think overriding ->can is a very tricky business.
I think the biggest problem here is hard-coding the invocant. You wouldn't do that in a constructor, would you?
In reply to Re^7: Is there a Perl API (XS) for ->can ?
by chromatic
in thread Is there a Perl API (XS) for ->can ?
by NERDVANA
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |