perldoc perlxstut perldoc perlxs
In reply to Re: Returning undef from XS code by Anonymous Monk in thread Returning undef from XS code by thor