Hi,
void fault() { int a[3] = {0}; Safefree(a); }
Naturally enough, when perl calls the fault() function, it produces the fatal "Free to wrong pool..." error.
I thought I could trap the error with:
eval{fault()};
but the script still crashes at that point. Is there a way to trap that error from perl (ie without doing anything different at the xs level) ?
Is it something that might vary from one OS to the next ? I'm using perl 5.8.6 on Windows2000.
Cheers, Rob