in reply to Returning undef from XS code

The answers so far look promising. I do have an additional question. What value should I return from the C sub in order to indicate failure? It's probably a no-brainer, but I'm not a C programmer (though I play one on TV from time to time).

thor