|
|
| No such thing as a small change | |
| PerlMonks |
Is there a Perl API (XS) for ->can ?by NERDVANA (Priest) |
| on Oct 08, 2021 at 06:17 UTC ( [id://11137334]=perlquestion: print w/replies, xml ) | Need Help?? |
|
NERDVANA has asked for the wisdom of the Perl Monks concerning the following question:
Hi, in one of my XS modules I want to do the equivalent of PKG->can($method). It feels like this would be in the perl api, but keyword searching for 'can' is somewhat futile. Is there any way to run this operation more efficiently than literally building a call to method 'can'?
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||||