in reply to Is there a Perl API (XS) for ->can ?
FWIW: My idea was that a direct call is more efficient.
Hence the XS equivalent to
$sub = UNIVERSAL::can($obj, "print");
But UNIVERSAL says
> # but never do this!
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
|
---|
Replies are listed 'Best First'. | |
---|---|
A reply falls below the community's threshold of quality. You may see it by logging in. |
In Section
Seekers of Perl Wisdom