mention that caller() does not show XSUBs
authorDaniel Dragan <bulk88@hotmail.com>
Sat, 13 Jul 2013 22:20:09 +0000 (18:20 -0400)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 14 Jul 2013 00:44:05 +0000 (17:44 -0700)
commit1d56df500dec0bf9de438b0fa225eb363b006dcf
treef58dd82e4403622b96192370d01dcff27224d174
parent66d813ca37e809ee893f2444cd6319914ce913e0
mention that caller() does not show XSUBs

Part of Perl #113438. Someone may write a pure perl sub, or callback from
an XSUB to PP to use caller, to check the package of the sub that called
the current sub and have different behaviour based on the caller sub's
package. Also using a perl debugger will not show XSUB frames in the
call stack. Therefore document this limitation of caller.
pod/perlfunc.pod