in reply to Help needed for Perl-XS!!

I bet it's to do with preservation of '\0' characters in your Perl string?