in reply to Re: Propagating errors in C code to Perl
in thread Propagating errors in C code to Perl

Thanks, betterworld and Joost.

Right now to return undef I'm saying:

return (SV *) &PL_sv_undef;

and to return false I'm saying:

return newSViv(0);

are these correct? Again, is there a better way to do that?


email: perl -e 'print reverse map { chr( ord($_)-1 ) } split //, "\x0bufo/hojsfufqAofc";'

Replies are listed 'Best First'.
Re^3: Propagating errors in C code to Perl
by Joost (Canon) on Sep 07, 2008 at 12:39 UTC

      Thanks Joost. I'm happy - I have no further questions :)


      email: perl -e 'print reverse map { chr( ord($_)-1 ) } split //, "\x0bufo/hojsfufqAofc";'