in reply to Re: Can't install Text::Metaphone with Strawberry Perl
in thread Can't install Text::Metaphone with Strawberry Perl

That bug is still open, here's a "fix", in Metaphone.xs, replace
free(phoned_word);
with
FreeMemory(phoned_word);
and all is well

Replies are listed 'Best First'.
Re^3: Can't install Text::Metaphone with Strawberry Perl
by Taulmarill (Deacon) on Oct 15, 2008 at 15:03 UTC
    This also seems to work. Would anyone care to explain this to me (just for my curiosity, i'm not that experienced with XS).

      The metaphone() function returns a C string allocated with the Perl API call NewMemory(), not the system's malloc(). You need to be consistent with the allocation/deallocation functions you use. That's all.