in reply to Text::ExtractWords exhibits incomprehensible behavior?

I think the XS interface to the C function must pass a pointer to $text. In ExtractWords.xs you can see that the second argument to the function ew_words_list is a pointer to a character 'char *'
  • Comment on Re: Text::ExtractWords exhibits incomprehensible behavior?

Replies are listed 'Best First'.
Re^2: Text::ExtractWords exhibits incomprehensible behavior?
by ibm1620 (Hermit) on Jun 15, 2024 at 20:54 UTC
    Yes, I didn't realize this was XS.