in reply to testing for undef in perl XS code (in DBD::ODBC)
PL_sv_undef is a perl scalar with the undef value, but it is not the only one. It is just for convenience, to not have to instantiate a new scalar on every place where an undef is required.
sv_undef is a macro that expands to PL_sv_undef
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: testing for undef in perl XS code (in DBD::ODBC)
by mje (Curate) on Nov 06, 2007 at 11:23 UTC | |
by syphilis (Archbishop) on Nov 06, 2007 at 12:59 UTC | |
by salva (Canon) on Nov 06, 2007 at 17:19 UTC | |
by syphilis (Archbishop) on Nov 07, 2007 at 06:39 UTC | |
by salva (Canon) on Nov 06, 2007 at 11:58 UTC |