CodeJunkie has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
Sorry to have to ask what may be a stupid question but I was hoping someone might be able to help me work out why I can't add something to my ispell dictionary using Lingua::Ispell add_word(word) or add_word_lc(word)? I've read through all the documentation I can find for both ispell and Lingua::Ispell but still it does not add the value to the dictionary as the function suggests it should...
Could this be a file permissions problem maybe? I am running this common via a web browser interface, and I have installed ispell as root... could this be the 'root' of the problem?
It also doesn't help that I can't get it to complain if it doesn't work. I.e. add_word($word) or die "Failed to add to dictionary: $!"; does not die, but still does not add to dictionary as far as I can tell!
Thoughts and ideas very welcome.
Thanks,
Tom
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: adding to an ispell dictionary
by tall_man (Parson) on Apr 15, 2003 at 14:38 UTC | |
by cbro (Pilgrim) on Apr 15, 2003 at 14:45 UTC | |
by CodeJunkie (Monk) on Apr 15, 2003 at 15:03 UTC | |
by tall_man (Parson) on Apr 15, 2003 at 15:16 UTC | |
by cbro (Pilgrim) on Apr 15, 2003 at 15:30 UTC | |
by CodeJunkie (Monk) on Apr 15, 2003 at 15:21 UTC | |
|
Re: adding to an ispell dictionary
by cbro (Pilgrim) on Apr 15, 2003 at 14:22 UTC |