good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^7: Is there a Perl API (XS) for ->can ?by chromatic (Archbishop) |
on Oct 11, 2021 at 23:47 UTC ( [id://11137437]=note: print w/replies, xml ) | Need Help?? |
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 Section
Seekers of Perl Wisdom
|
|