If I run the same code as in main with my class created using XS code,
which has a similar constructor and deconstructor doesn't give me any
output.

Is the reason for DESTROY not being called in the code which uses it or
in the XS code itself? I suspect the latter as the same code calls
DESTROY if the class I use is declared with pure-perl.

There should be no difference between Perl and XS object destruction. What logic are you using to create your object in XS? Are you sure your namespaces are correct?

Cheers,

jez.


Reply via email to