in reply to Text::ExtractWords exhibits incomprehensible behavior?
That I don't understand. Were $text and $copy munged in the same way after the call or different? What does printf("%s %s\n", \$text, \$copy) give before and after the call?
In general, it seems like a bad practice for an XS function to modify it's arguments unless that is the specific purpose.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Text::ExtractWords exhibits incomprehensible behavior?
by ibm1620 (Hermit) on Jun 16, 2024 at 21:39 UTC | |
by etj (Priest) on Jun 16, 2024 at 21:54 UTC | |
by ibm1620 (Hermit) on Jun 16, 2024 at 22:14 UTC | |
by etj (Priest) on Jun 16, 2024 at 22:16 UTC | |
by ibm1620 (Hermit) on Jun 17, 2024 at 12:25 UTC |