Is it not possible to directly call built-in functions like caller? The only
way I could call caller was to wrap it in a subroutine, in this case an
anonymous sub routine: sub { caller shift }.

Everytime I tried to call it directly (with every option under the sun) Perl
would somehow longjmp over my XS code back into the initial call into Perl.
The flow looked like C -> Perl:perl_parse() -> C:XS -> Perl:call_pv("caller").
call_pv would jump back to per_parse, across the XS code. Very strange.

Things seem to be working, but I'm curious what the real issue was.

TIA,

Bill

Reply via email to