http://www.perlmonks.org?node_id=11137437


in reply to Re^6: Is there a Perl API (XS) for ->can ?
in thread Is there a Perl API (XS) for ->can ?

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?