in reply to Re^4: testing for undef in perl XS code (in DBD::ODBC)
in thread testing for undef in perl XS code (in DBD::ODBC)

With a == &PL_sv_undef you are not testing if they contain the same value but if they are both pointers to the same scalar!

Doh!! ... thanks salva.

Cheers,
Rob
  • Comment on Re^5: testing for undef in perl XS code (in DBD::ODBC)