Teodor Sigaev <teodor(at)stack(dot)net> writes:> May be:> if (! (SvOK(perlret) && perlret != &PL_sv_undef) ) {...
Apparently the correct way is
if (! (perlret && SvOK(perlret))) ...
Thanks for the tip.
regards, tom lane